home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir27 / fit312.zip / AFIT3HLP.DOC < prev    next >
Text File  |  1994-07-16  |  207KB  |  4,607 lines

  1.  
  2.  
  3.  
  4.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------      --
  5.  
  6.  
  7.  
  8.      ┌────────────────┐
  9.      │╒═══════════════╧╕
  10.      ││    Help File   ├─────────────────────────────────────
  11.      ││                └──────────────────────────────────────
  12.      ││
  13.      ││    AstroDataFitter 3 Least-Squares Equation/Data Fitter
  14.      ││
  15.      ││      Help File  Version 3.12   03-01-1994     <ASP>
  16.      ││                                                                     L 10
  17.       │
  18.  
  19.       (c) Copyright 1981, 1994  PC SuperComputer Capital, Inc.
  20.  
  21.                           All rights reserved.
  22.  
  23.    Read and understand  WARRANTY INFORMATION . Type J twice to read.
  24.  
  25.   Instructions on using help file are at end of file. Type K to read.
  26.                                                                             L 20
  27.  
  28. ╒══════════╕
  29. │ CONTENTS └──────────────────────────────────────────────────────────
  30.  
  31. 0.00                  Table of Contents
  32.  
  33.       *    To quickly jump to Sections, position the Section line number
  34.       *    on the │JUMP│ line (line 12) and type J or type Lxxx (enter)
  35.       *    where xxx is line number. For example, to jump to line 139,
  36.       *    type L139 (ent).  Type S or R to skip back/forth to Sections.    L 30
  37.  
  38.  SECTION                   TITLE                              PAGE│LINE
  39.  
  40.   0.00 ... Table of Contents ................................... 1   25
  41.   1.01 ... Equations Display, What is it? ...................... 3  101
  42.   1.02 ... How to Use the Calculator. .......................... 5  188
  43.   1.03 ... How to find Things With Auto-search Function ........ 6  236
  44.   1.04 ... Summary of Letter Commands Used in Equations ........ 6  254
  45.            Display
  46.   1.05 ... F1-F10 Keys, Commands assigned. .................... 18  817    L 40
  47.   1.06 ... Command Sequences Used to Perform Special .......... 19  845
  48.            Operations
  49.   1.07 ... Editing Keys: Functions During Text Entry .......... 19  866
  50.   2.01 ... Entering Equations Into the Program ................ 21  965
  51.   2.03 ... Writing Equations: Definition of Terms ............. 23 1015
  52.   2.10 ... Rules for Writing Algebraic Expressions, ........... 25 1114
  53.  
  54.  
  55.     ------------------------------------------ 0.00 -- Table of Contents ---
  56.  
  57.  
  58.  
  59.  
  60.  
  61.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------    2 --
  62.  
  63.  
  64.            Formulas and Equations
  65.   2.15 ... Rules for Evaluation of Parentheses ................ 27 1214
  66.   2.20 ... Rules for Evaluation of Intrinsic Functions ........ 27 1236
  67.   2.25 ... Rules for Evaluation of Mathematical Operations .... 28 1259    L 50
  68.   2.30 ... Glossary of Intrinsic MATH FUNCTIONS and ........... 29 1298
  69.            Function Operators
  70.   2.40 ... Numbers: Format-free, Examples of Formats .......... 34 1524
  71.   2.42 ... Controlling the Number of Decimal Digits ........... 34 1560
  72.   2.45 ... Maximum Number of Equations, Variables and ......... 35 1598
  73.            Constants
  74.   2.46 ... Maximum Number of Data Points and Data ............. 36 1630
  75.            Coordinates
  76.   2.50 ... Errors During Equation Evaluation and Elsewhere .... 36 1649
  77.   3.01 ... Directory Screen: Commands During Display .......... 37 1669    L 60
  78.   3.05 ... Commands Used While Plot Screen is Displayed ....... 39 1767
  79.   4.01 ... Commands Unique to this Program AFIT3.EXE. ......... 41 1862
  80.   4.02 ... Commands Used to Manipulated Data Points and ....... 43 1955
  81.            Their Values.
  82.   4.04 ... Introduction to Fitting Equations to Data by ....... 45 2049
  83.            Nonlinear Least-Squares Regression.
  84.   4.06 ... Finding Best Values of Transistor Parameters ....... 48 2192
  85.            from Experimental Data by Nonlinear Least
  86.            Squares.
  87.   4.08 ... Automatic Least-squares Polynomial Regression ...... 54 2461    L 70
  88.            (Linear Least Squares)
  89.   4.10 ... Advanced Functions using Data and Active ........... 57 2610
  90.            Equation
  91.   4.12 ... Reading External Files of Data Only ................ 60 2716
  92.   5.01 ... Summary of Common WARNINGS During Calculations. .... 61 2774
  93.   5.05 ... Summary of ERRORS during evaluation of equations ... 63 2874
  94.   6.01 ... Setting Foreground/background Colors of Main ....... 65 2960
  95.            Equations Screen and Program
  96.   6.05 ... Clock Screen: Commands During Display .............. 66 2992
  97.   6.10 ... Apostrophe Commands: What They Do and How to Use ... 67 3055    L 80
  98.            Them
  99.   6.12 ... Apostrophe Commands Unique to AstroDataFitter. ..... 70 3196
  100.   7.01 ... Information After Program Name on DOS Command ...... 70 3217
  101.            Line. How the Program Uses It and What It Does.
  102.   8.01 ... Product License and Warranty. ...................... 72 3278
  103.   8.03 ... User Support. ...................................... 73 3344
  104.   8.04 ... Ombudsman/Arbitration Policy. ...................... 74 3365
  105.   8.05 ... Product Information and How to Order Complete ...... 74 3387
  106.            Package.
  107.   8.06 ... Software Included in Astro 3 Registration .......... 76 3477    L 90
  108.   8.07 ... Order/Registration Form ............................ 78 3562
  109.   8.08 ... Instructions for Manually Installing Package. ...... 79 3627
  110.  
  111.  
  112.     ------------------------------------------ 0.00 -- Table of Contents ---
  113.  
  114.  
  115.  
  116.  
  117.  
  118.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------    3 --
  119.  
  120.  
  121.   8.09 ... Interested in Becoming the Author of Your Own ...... 80 3669
  122.            Interactive Application File?
  123.   9.01 ... Help File: Summary of File Viewing Commands ........ 81 3691
  124.  
  125.  
  126. ╒═══════════════╕
  127. │ EQUATIONS ??? └──────────────────────────────────────────────────────
  128.                                                                            L 100
  129. 1.01    Equations Display, What is it?
  130. ────────────────────────────────────────────────────────────────────────
  131.  
  132.          The equations display is the spreadsheet portion of
  133.          AstroDataFitter 3.  It contains the equations, variable
  134.          names, variable values and a comment.  Most operations are
  135.          performed while in the equations display through the use of
  136.          characters, letters, combinations of characters with letters
  137.          and the "F" keys.  The blinking cursor prompt ">" is always
  138.          positioned between a variable name like TIME and its current      L 110
  139.          value which might be 2.3.  For example:  TIME => 2.3.  Numbers
  140.          and math operations are passed to the variable on which the
  141.          blinking cursor resides.  Other characters and combinations
  142.          serve as commands to activate certain functions such as
  143.          integration or derivitization.  Certain commands require that
  144.          two characters be typed consecutively.  Commands such as "!C"
  145.          or "@C" mean that the "!" or "@" is typed first and the "C"
  146.          next.  Representations such as "(esc)", "(enter)" and "(space)"
  147.          represent single keystrokes.
  148.                                                                            L 120
  149.          To change the display colors to high-intensity white on blue
  150.          type Q when the highlight bar is lighted on the EQU below.
  151.  
  152. 'EQU
  153. 'COL HWHITE BLUE
  154. 'HELP
  155.  
  156.          An illustration of the equations display for the equation
  157.          of a straight line:  Y=M*X+B with the blinking cursor on
  158.          variable X is shown below.  A comment which describes the         L 130
  159.          equation is listed first.  The equation and the value of its
  160.          dependent variable Y (=4) is listed next.  The current time and
  161.          date are listed in the middle of the screen.  The three
  162.          independent variables B, M and X are listed in alphabetical
  163.          order.  Finally, a summary of keys and functions is displayed
  164.          at the bottom of the screen.  The last line scrolls through
  165.          additional commands and is not shown.
  166.  
  167.  
  168.  
  169.     ----------------------------- 1.01 -- Equations Display, What is it? ---
  170.  
  171.  
  172.  
  173.  
  174.  
  175.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------    4 --
  176.  
  177.  
  178. -----------------------------------------------------------------------
  179. --- Comment -->  Equation of a straight line.                              L 140
  180.  
  181.                        Y=M*X+B                               Y =  4
  182.  
  183.  
  184. 12:23:04                                                     03-07-1981
  185.  
  186.  
  187.        B =  4                    M = -2                    X => 0
  188.  
  189.                                                                            L 150
  190. F1 hlp, F2 appl hlp, F3 exit, F4 shl, F5 com, F6 equ, F7 dir, F8 get, F9
  191. -----------------------------------------------------------------------
  192.  
  193.          Definitions of terms used to define an equation.
  194.  
  195.          ■ EQUATION.  A formula, expression or recipe directing the
  196.          program on how to execute mathematical operations such as
  197.          Y=M*X+B which is the mathematical representation of a straight
  198.          line (Y.  vs.  X) with slope M and y-intercept B.  Equations
  199.          are written in a symbolic language which is identical to how      L 160
  200.          they would be expressed if written in the popular computer
  201.          language BASIC.  In this equation Y is assigned the value of M
  202.          multiplied by X and then added to the value of B.
  203.  
  204.          ■ DEPENDENT VARIABLE.  Unique name associated with every
  205.          equation and its value is usually the object of a calculation
  206.          such as Y in Y=M*X+B.
  207.  
  208.          ■ INDEPENDENT VARIABLE(S).  Name(s) always to the right of the
  209.          equal sign such as M, X and B in Y=M*X+B.  Independent            L 170
  210.          variables are always used to calculate the values of the
  211.          dependent variables.
  212.  
  213.          ■ STORAGE VARIABLE(S).  Names that are generated by simple
  214.          assignment statements entered in the equations display such
  215.          as (space) PI=3.1415926 (enter).  They are similar to
  216.          independent variables and can be used in all equations,
  217.          expressions and calculations.  The storage variables and their
  218.          values are saved and recalled separately from the equations
  219.          using the "!]" and "![" commands.  Their values are usually       L 180
  220.          hidden unless requested with the "Z" or "Y" commands which
  221.          toggle through their names or by typing the variable name
  222.          followed by equal sign:  (space) VARNAME= (enter).
  223.  
  224.  
  225.  
  226.     ----------------------------- 1.01 -- Equations Display, What is it? ---
  227.  
  228.  
  229.  
  230.  
  231.  
  232.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------    5 --
  233.  
  234.  
  235. ╒════════════════╕
  236. │ CALCULATOR ??? └──────────────────────────────────────────────────────
  237.  
  238. 1.02    How to Use the Calculator.
  239. ────────────────────────────────────────────────────────────────────────
  240.                                                                            L 190
  241. The "blinking cursor" or "=>" is located between a variable name and
  242. its value. It begins the AFIT3 command line just like a DOS prompt.
  243. Information is passed to the program by typing appropriate characters.
  244. Just about any calculation can be performed and stored by assigning its
  245. value to a variable name, one that already exists or a new one.
  246. Variables that do not appear on the equations display screen are called
  247. "storage variables".   For example, if the cursor is on variable B, then
  248. one can perform a calculation and save it as a storage variable named
  249. Q1:
  250.                                                                            L 200
  251. -----------------------------------------------------------------------
  252. --- Comment -->  Equation of a straight line.
  253.  
  254.                        Y=M*X+B                               Y =  4
  255.  
  256.  
  257. 12:25:04                                                     03-07-1981
  258.  
  259.  
  260.        B => q1=23.45+56.78+12.98-34.56-12.78 (enter)       X =  0          L 210
  261.  
  262.  
  263. F1 hlp, F2 appl hlp, F3 exit, F4 shl, F5 com, F6 equ, F7 dir, F8 get, F9
  264. -----------------------------------------------------------------------
  265.  
  266.          When "(enter) is typed, the program will evaluate the
  267.          expression, assign its value to Q1 and display the result on
  268.          the time/date line.  Note, because most letters represent
  269.          commands, it is wise to start such calculations with a space.
  270.          Expressions can reference any previously defined variable:        L 220
  271.          dependent, independent or storage.  For example (space)
  272.          x=2*B-y+3*m (enter) or q1=q1+67 (enter).  The current values of
  273.          storage variables can be displayed with the storage toggle
  274.          commands "Y" and "Z" or by typing their name followed by the
  275.          equal sign and enter.  For example, (space) Q1=(enter).
  276.          Storage variables can be used in the equations, if previously
  277.          defined.  Multiple assignment can be made with the 'VAR
  278.          apostrophe command.  For example:  'var y=3 b=4 x=-5 (enter)
  279.          The storage variables are saved independent of the equations
  280.          with the command "!]".  See below for more discussion on          L 230
  281.  
  282.  
  283.     --------------------------------- 1.02 -- How to Use the Calculator. ---
  284.  
  285.  
  286.  
  287.  
  288.  
  289.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------    6 --
  290.  
  291.  
  292.          storage variables.
  293.  
  294. ╒═════════════╕
  295. │ AUTO-SEARCH └─────────────────────────────────────────────────────────
  296.  
  297. 1.03    How to find Things With Auto-search Function
  298. ────────────────────────────────────────────────────────────────────────
  299.  
  300.          This entire file can be automatically searched for words,
  301.          phrases and other characters using the auto-search command "A".   L 240
  302.          Type "A" and then enter the characters.  Search is in uppercase
  303.          and is case-insensitive.  To continue the search, type "A"
  304.          repeatedly as required until wrap around occurs.  To perform
  305.          another search, it may be necessary to first type "(space)"
  306.          then "A".  For example, to find "Help File:", type "A", then
  307.          (end esc) help file: (enter).  However, this will only get you
  308.          back to this line because the search starts at the top of the
  309.          screen!  Type "A" again to continue and find another "hit".
  310.          Type "A" a few times to get back to here.
  311.                                                                            L 250
  312. ╒══════════╕
  313. │ COMMANDS └────────────────────────────────────────────────────────────
  314.  
  315. 1.04    Summary of Letter Commands Used in Equations Display
  316. ────────────────────────────────────────────────────────────────────────
  317.  
  318.          The following discussion may assume that the "default"
  319.          equations or amortization equations are currently being
  320.          displayed.  To load these equations from the main equation
  321.          display, type (F6) or "!/" and type (end esc) "" (enter) in       L 260
  322.          response to the "-- ?  Equations ->" prompt.
  323.  
  324.      **** Commands, keystrokes, functions and explanations follow ****
  325.  
  326. -> Activate variable:  A    !A    @A
  327.  
  328.          Use "A" to activate an equation and its dependent variable.
  329.          Used to mark equations which participate in other commands like
  330.          the "G" and "D" commands used for integration and
  331.          differentiation, respectively.  Only active equations are         L 270
  332.          integrated and differentiated.  Also used to specify equations
  333.          set equal to each other in the intersection command "U" or
  334.          plotted with the plot command "P".  Initially, all equations
  335.          are active.  Inactive equations do not have an "=" following
  336.          variable name.  Use !A to activate all dependent or independent
  337.          variables at once.  The location of the cursor determines which
  338.  
  339.  
  340.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  341.  
  342.  
  343.  
  344.  
  345.  
  346.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------    7 --
  347.  
  348.  
  349.          set.  Use @A to activate all variables at once.  One can also
  350.          use the apostrophe command 'ACT VARNAME (enter) to perform
  351.          activation.  See below.  Use the commands I, !I or @I to
  352.          inactivate variables and equation(s).                             L 280
  353.  
  354. -> Background/foreground colors:  !N    @N
  355.  
  356.          "!N" toggles next foreground color.  Use "@N" to toggle next
  357.          background color.  Colors are normal-intensity black, blue,
  358.          green, cyan, red, magenta, brown and white and the
  359.          high-intensity shades.  For monochrome monitor, default values
  360.          are recommended.  Color settings are saved with equations.  If
  361.          fore/back colors are equal then displayed info becomes
  362.          invisible.  Use "!(esc)" to reset monochrome colors:  Fore,       L 290
  363.          white (green); Back, black.  "!(esc)" sets monochr colors:
  364.          Fore, white (green) #7; Back, black #0.  "@ (esc)" sets monochr
  365.          colors:  Fore, black #0; Back, white (green) #7.  One can also
  366.          use the apostrophe command 'COL color1, color2 (enter) to
  367.          perform this function.  'COL (enter) resets monochrome colors.
  368.          See below for more details.
  369.  
  370. -> Bottom line command scrolling: J  !J  @J    K  !K  @K
  371.  
  372.          "J" toggles to previous command menu display at bottom of         L 300
  373.          screen.  "!J" turns on auto-scrolling about every 10 seconds.
  374.          "@J" turns off auto-scrolling.  "K" toggles to next command
  375.          menu display at bottom of screen.  "!K" turns on auto-scrolling
  376.          about every 10 seconds.  "@K" turns off auto-scrolling.
  377.  
  378. -> Calculate dependent variables: C     (enter)     (esc)
  379.  
  380.          "C" calculates the values of all dependent variables using the
  381.          current values of the independent and storage variables.
  382.          "(enter)" calculates dependent variables if used after a valid    L 310
  383.          number or allowed expression is entered.  "(esc)" recalculates
  384.          equations and redraws the display.  Also, use the apostrophe
  385.          command 'CALC (enter) to recalculate without entering a
  386.          variable.
  387.  
  388. -> Chaining calculated values to other equations (overlaying equations)
  389.  
  390.          Use "@[" to get a file of equation(s), comment and variable
  391.          status only.  Common variables are assigned existing values and
  392.          new variables are initialized to 0.0.  Allows overlay or chain    L 320
  393.          operations to other equation(s) with identical variable names.
  394.  
  395.  
  396.  
  397.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  398.  
  399.  
  400.  
  401.  
  402.  
  403.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------    8 --
  404.  
  405.  
  406. -> Chaining to other ASTRO3 programs: 'CHAIN
  407.  
  408.          The 'CHAIN apostrophe command is used to switch to another
  409.          ASTRO3 program and pass it the current equations, dependent and
  410.          independent variables (as file A.EQU) and storage variables (as
  411.          file A.EQU).  CALC or C is used to designate
  412.          AstroFormulaCalculator 3.  SOLVE or S is used to designate
  413.          AstroEquationSolver 3.  FIT or F is used to designate             L 330
  414.          AstroDataFitter 3.  At the blinking cursor, type 'CHAIN C
  415.          (enter) to chain to AstroFormCalc, type 'CHAIN S (enter) to
  416.          chain to AstroEquationSolver and 'CHAIN F (enter) to chain to
  417.          AstroDataFitter.  In AUTOEXEC.BAT, be sure to set a PATH to
  418.          where the ASTRO 3 programs can be found and set the environment
  419.          variable ASTRO3 to that same path.
  420.  
  421. -> Changing displayed precision of dependent variables: !\   @\
  422.  
  423.          Use "!\" for the single-precision display (default) of            L 340
  424.          dependent variables of equations with var name displayed before
  425.          current value:  ABC = 1.234567.  Use "@\" for the
  426.          double-precision display of dependent variables of equations
  427.          without variable name displayed before current value:  =
  428.          1.234567890123456.  To see the full precision of an independent
  429.          variable, type "\".  and then type (enter) to return to the
  430.          blinking cursor ">".  Also, use the apostrophe commands 'PRE
  431.          SINGLE (enter) or 'PRE DOUBLE (enter).
  432.  
  433. -> Changing number of displayed decimal digits in main equation display    L 350
  434.  
  435.          The number of decimal digits displayed in the main equation
  436.          display can be globally changed with the  'DEC apostrophe
  437.          command.  For example, to set 2 decimal digits, type
  438.          'DEC 2 (enter).  To set none, type 'DEC 0  (enter).
  439.          To reset, type 'DEC (enter).  The decimal operator attached to
  440.          a variable name will override the global default.  For example,
  441.          a variable named MONEY.2 will always display 2 decimal digits
  442.          no matter what the global default. Global defaults also apply
  443.          to the displayed values of the storage variables and numbers      L 360
  444.          displayed on the plot.
  445.  
  446. -> Clock display:  !C
  447.  
  448.          Use "!C" to display full-screen clock/calendar in which the
  449.          alarm is set.  Type $ to exit back to the equation display.
  450.          See below for a summary of the clock commands.  Also, use the
  451.          apostrophe command 'CLO (enter) to jump to the clock.
  452.  
  453.  
  454.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  455.  
  456.  
  457.  
  458.  
  459.  
  460.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------    9 --
  461.  
  462.  
  463.  
  464. -> Copy an equation                                                        L 370
  465.  
  466.          Move the cursor to the desired equation, type "@/" and type
  467.          "(esc) or "(ctrl Q)" to exit to the equation display without
  468.          any changes.  Remember that the immediate calculation buffer
  469.          (command "|") now contains this equation.  Type (F6) or "!/" to
  470.          edit the displayed equations.  Move the cursor to the location
  471.          where the equation is to be inserted and type "(alt 9)" to
  472.          insert.  Remember to add spaces where needed to separate
  473.          equations and remove or change the other equations/dependent
  474.          variables.  Also, the name of the dependent variable of each      L 380
  475.          equation must be unique.  Also, see command "!F", "@F", "!M",
  476.          "@M", "!L" and "@L" for other ways to copy equations.
  477.  
  478. -> Cursor movement: B F L M N  arrow keys (tab) (shift tab) (backspace)
  479.  
  480.          "B" and (shift tab) move the cursor ">" backwards to preceding
  481.          variable.  Also use (backspace) for the same purpose.  "F"
  482.          moves the cursor ">" to the first dependent variable "L" moves
  483.          the cursor ">" to the last independent variable.  "M" moves the
  484.          cursor ">" to the middle or first independent variable.  "N"      L 390
  485.          and (tab) move the cursor ">" to the next variable.  Also use
  486.          (enter) and (ctrl enter) for the same purpose.
  487.  
  488.          Arrow keys - Use edit keys:  (Home) (up arrow) (PgUp) (left
  489.          arrow) (right arrow) (End) (down arrow) (PgDn) to move blinking
  490.          cursor.  Note:  Keys (up arrow) and (down arrow) move cursor
  491.          vertically through variables Keys:  (left arrow) and (right
  492.          arrow) move cursor through independent variables only.  The
  493.          (tab)/(shift tab) and backspace keys moves the cursor to the
  494.          next/previous variable.                                           L 400
  495.  
  496. -> Cut and Paste (copying equations): !F  @F  !M  @M  !L  @L
  497.  
  498.          These commands save equations in the immediate calc text
  499.          buffer.  This buffer is accessed by the | command and its
  500.          contents are further saved in the immediate calc text stack.
  501.          The contents of this buffer can be "pasted" into equations and
  502.          other text fields while in the edit mode using the (alt 9)
  503.          function.
  504.                                                                            L 410
  505.          "!F" adds the immediate calc text buffer to the text stack,
  506.          clears the immediate calc buffer and inserts all INACTIVE
  507.          equations into it.  Inactive equations have variable names that
  508.          are not followed by an "=" sign.  The immediate calc buffer can
  509.  
  510.  
  511.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  512.  
  513.  
  514.  
  515.  
  516.  
  517.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   10 --
  518.  
  519.  
  520.          be inserted while in the edit mode using the (alt 9) function.
  521.          Use A and I commands to activate/inactivate equations before
  522.          using these commands.
  523.  
  524.          "@F" adds the immediate calc text buffer to the text stack,
  525.          clears the immediate calc buffer and inserts all ACTIVE           L 420
  526.          equations into it.  Active equations have variable names that
  527.          are followed by an "=" sign.
  528.  
  529.          "!M" appends all INACTIVE equations to the immediate calc text
  530.          buffer without appending to the text stack.
  531.  
  532.          "@M" appends all ACTIVE equations to the immediate calc text
  533.          buffer without appending to the text stack.
  534.  
  535.          "!L" clears the immediate calc buffer of all text.  The buffer    L 430
  536.          is displayed with the | command.
  537.  
  538.          "@L" clears the immediate calc text stack.  This stack is used
  539.          to save the immediate calc buffer.
  540.  
  541. -> Directories of *.EQU, *.STO and *.HLP:   (F7) or *   !*   @*
  542.  
  543.          "(F7)" or "*" gives directory of *.equ in directory of
  544.          specified path.  "!*" gives directory of *.sto in directory of
  545.          specified path.  "@*"gives directory of *.hlp in directory of     L 440
  546.          specified path.  Enter path for desired directory in response
  547.          to prompt.  For example:  (end esc) \project1\analysis (enter).
  548.          A filename can be included in path but it must have a period.
  549.          For example (end esc) \calc\*.dat (enter) or \calc\beta???.  If
  550.          no extension, then the default extension is used.  Use cursor
  551.          keys to locate file and (enter) to select.  Program will always
  552.          load file as EQU, STO or HLP even if extension differs from
  553.          default.  Use (esc) or (ctrl Q) to exit.  Use "(space)" to get
  554.          information about the current highlighted file.
  555.                                                                            L 450
  556. -> Designate coordinate variable
  557.  
  558.          O - Designate an independent variable as the coordinate for the
  559.          X-axis of a plot.  One or more equations can be plotted vs.  a
  560.          single coordinate.  A ":" designates a coordinate and will
  561.          appear in place of the "=".  Use A or I to change status to
  562.          active or inactive as required.
  563.  
  564. -> Display all 16 digits of variables value
  565.                                                                            L 460
  566.  
  567.  
  568.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  569.  
  570.  
  571.  
  572.  
  573.  
  574.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   11 --
  575.  
  576.  
  577.          \ - Display the full 16 digit precision and position the cursor
  578.          for editing the number.  Type (enter) to return to the blinking
  579.          cursor.  For example, to subtract 1000 from the current number,
  580.          type "\", and type (end) -1000 (enter).  After typing "\", the
  581.          cursor is always positioned at beginning of number.  Type (end)
  582.          to move the cursor to the end of the number and (esc) to clear
  583.          the number.  Always type (enter) to perform a calculation or
  584.          exit.
  585.  
  586. -> Display entire comment:  (comma key)                                    L 470
  587.  
  588.          Type the comma from the equations display in order to see
  589.          the entire text of the comment.  If the comment ends in "...",
  590.          then it was terminated because of a lack available screen
  591.          space.  If the "||" pairs are used within a lengthy comment
  592.          then only the part enclosed by the || is displayed.  If a
  593.          double single quote '' is used, then only the part before the
  594.          '' is displayed.  In these cases, use the comma command to
  595.          display the full text.  Type any key to return to the main
  596.          equation display.                                                 L 480
  597.  
  598. -> Display/remove storage variables: Y   !Y @Y   Z   !Z   @Z
  599.  
  600.          "Y" displays the name and value of storage variable, if any.
  601.          Repeat "Y" to toggle to previous storage variables and so on.
  602.          "!Y" displays the current storage variable without toggling.
  603.          "!Z" has the same functions as "!Z".  "@Y" removes all storage
  604.          variables.  Program will prompt "?  equations" to check for any
  605.          references to the erased storage vars.  If present, they now
  606.          become independent vars.  "Z" displays the name and value of      L 490
  607.          storage variable, if any.  Repeat "Z" to toggle to next storage
  608.          variable and so on.  Up to 256 storage variables can be entered
  609.          with user-defined names.  For example:  =PI=3.1415926 (enter)
  610.          (spc) DATA1=:  (ent) Always start first with "(space)" or "="
  611.          because most commands begin with letters.  "!Z" like "!Y"
  612.          displays the current storage variable.  Use "@Z" to remove the
  613.          current storage variable.  If a storage variable is removed,
  614.          the immediate calc buffer (command "|" ) is assigned:  VARNAME
  615.          = value.  To restore storage var or assign value to storage var
  616.          which has become independent var, type "|" (enter).  Storage      L 500
  617.          variables are not displayed like other variables.  To display
  618.          the value of any storage variable, type (space) VARNAME=
  619.          (enter).  The storage-index counters are positioned on this
  620.          variable.  Type "!Z" to check and type "@Z" to remove, if
  621.          necessary.  Type "|" to recall this calc, if it needs to be
  622.          recovered.
  623.  
  624.  
  625.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  626.  
  627.  
  628.  
  629.  
  630.  
  631.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   12 --
  632.  
  633.  
  634.  
  635. -> DOS shell: !E     @E
  636.  
  637.          "!E" executes DOS command and then returns control to program.    L 510
  638.          Type the DOS command in response to the prompt.  "@E" shells by
  639.          exiting to DOS.  The program is still memory resident.  Enter
  640.          DOS commands and other operations.  Must type EXIT (enter) to
  641.          return to program.
  642.  
  643. -> Edit an individual equation:  @/
  644.  
  645.          "@/" edits a single equation and updates the immediate calc
  646.          buffer with that equation.  Move cursor to dependent var of
  647.          desired equation and type "@/".  To inspect and return to         L 520
  648.          equation display without changes, type "(esc)" or "(ctrl Q)".
  649.          To update, type changes followed by "(enter)".  To remove
  650.          equation, type the null string "" (enter).  Can also be used to
  651.          copy and/or move equation.  See "Entering Equations", below.
  652.          "@/" always causes immediate calc ( | ) to be updated.
  653.  
  654. -> Entering comment:   (F5)   /
  655.  
  656.          Use "(F5) or "/" to enter or modify a comment only.  Comment
  657.          can contain up to 1840 characters (23 lines).  Use "||" pairs     L 530
  658.          to designate segment of comment to be displayed.  If the text
  659.          is "first part || second part || third part" then the displayed
  660.          comment will be "second part".  Use the double single-quote
  661.          "''" to indicate the end for the displayed comment.  If the
  662.          text is "first part''second part" then only "first part" is
  663.          displayed.  A double single-quote "''" or four "|" at beginning
  664.          of text:  "'' rest of text" or "|||| rest of text", suppresses
  665.          comment.  To view entire comment, type (comma key).  Type any
  666.          key to exit.  The amount of the displayed comment depends on
  667.          number of equations/variables.  Quotes are not required for       L 540
  668.          strings but may be needed to prevent string compression or loss
  669.          of desired spaces.  Complete equations and comment are save
  670.          with screen dump.  See command "V" for more details.
  671.  
  672. -> Entering equations:  (F6)   !/
  673.  
  674.          Type "(F6) or "!/" to enter 1 or more equations.  Equations are
  675.          entered in BASIC symbolism.  Leave at least one space between
  676.          each equation.  Read rules discussed below.  Total equations
  677.          can contain up to 1840 characters (23 lines).  Current maximum    L 550
  678.          of 63 equations with up to 66 independent and dependent
  679.          variables.
  680.  
  681.  
  682.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  683.  
  684.  
  685.  
  686.  
  687.  
  688.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   13 --
  689.  
  690.  
  691.  
  692. -> Entering number without calculating main equations:  (ctrl enter)
  693.  
  694.          To enter a number into a variable of the main equations without
  695.          calculating the dependent variables type the number and
  696.          terminate it with (ctrl enter) instead of (enter).
  697.  
  698. -> Escaping from the "? Enter Equation(s)" prompt.                         L 560
  699.  
  700.          If the equations contain only constants, then typing (esc)
  701.          will result in program termination. For example,
  702.          starting with AFIT3  45.19+56.78+89.34 (enter) and then
  703.          typing (esc) will get to the "? Enter Equation(s)" prompt.
  704.          Typing (esc) now will terminate the program.
  705.  
  706.          In some situations, the (ctrl Q) or (esc) sequences may not
  707.          return to the equations display.  This event will usually
  708.          occur when a previously-entered valid equation does not exist.    L 570
  709.          For example, if the program is started with an improper
  710.          equation entered on the DOS command line, then one must either
  711.          correct the equation or type (end esc) then "" (enter) to load
  712.          the default equations.  To exit from the program while in the
  713.          edit mode, one must use the apostrophe command:  'exit (enter).
  714.  
  715. -> Exit program:  E
  716.  
  717.          Use "E" to exit from the program.  If equations or storage need
  718.          to be saved, the program will inform you.  Save them              L 580
  719.          immediately because the use of "E" clears the reminders.  If
  720.          necessary type "E" a second time to exit.  Type Y (enter) to
  721.          exit/terminate.  or N (enter), "(enter)", "(ctrl Q)" to return
  722.          to equation display.
  723.  
  724. -> Generate "Definition of variables" template as comment: ! (comma)
  725.  
  726.          "!  (comma)" will generate a comment which is a template of
  727.          variable names each followed by the define character "≡".  The
  728.          comment must be empty for this to happen.  If the comment         L 590
  729.          contains text, set it to a null comment by typing (F5) then
  730.          (end esc) "" (enter) or type the apostrophe command
  731.          'com "" (enter).  If the equation is y=m*x+b then the comment
  732.          will look something like:     Definition of variables.
  733.          Y ≡
  734.          B ≡
  735.          M ≡
  736.          X ≡
  737.  
  738.  
  739.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  740.  
  741.  
  742.  
  743.  
  744.  
  745.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   14 --
  746.  
  747.  
  748.          Type (F5) to edit the comment and type in the meanings of the
  749.          variables.                                                        L 600
  750.  
  751. -> Get/save file of equations: (F8)  [     (F9)  ]
  752.  
  753.          "(F8)" or "[" gets a file of equations and the values of
  754.          variables.  Enter the path/filename followed by "(enter)" in
  755.          response to prompt.  "(F9)" or "]" saves a file of the
  756.          equations and the values of variables.  These two commands save
  757.          equations, dep and ind vars but not storage vars.  Filenames
  758.          can be specified with paths.  For example:  \data\results.001,
  759.          \project\z21\analysis.equ, d:\appl\line.equ.  Default extension   L 610
  760.          for equation files is ".EQU".  Use "." at end of filename if
  761.          does not have extension.  For get operation, if .HLP is the
  762.          extension, then program will re-initialize and attempt to read
  763.          file as application file.  The extension .HLP cannot be used
  764.          with a filename for the save (F9) operation.
  765.  
  766. -> Get/save file of storage variables:   ![   !]
  767.  
  768.          Use "![" to get a file of storage variables and values only.
  769.          Note:  Use "!*" to generate a directory on the screen from        L 620
  770.          which the name of an existing file can be located and selected.
  771.          Use "!]" to save a file of storage variables and values only.
  772.          Default extension for storage files is ".STO".  Use "." at end
  773.          of filename if does not have extension.  If .HLP is the
  774.          extension, then program will re-initialize and attempt to read
  775.          file as application file.
  776.  
  777. -> Help files:  Using on-line help file, user-manual help file and
  778.    application help file.
  779.                                                                            L 630
  780.          To use the on-line help file, type (F1) or the letter "H".  To
  781.          use the on-line user-manual, type "!H" or type (F2) and enter
  782.          its name.  To use the application help file type "(F2)" or
  783.          "@H".  Type the name followed by "(enter)".  After reading the
  784.          application help file, to get the program to prompt for a new
  785.          name, first type "@C" to display version number or type "(F1)"
  786.          to access the on-line help file.  Type "(esc)" or "E" to exit
  787.          and then type "(F2)".  Set DOS environment variable ASTRO3 to
  788.          the path where AFIT3HLP.HLP can be found prior to running this
  789.          program.                                                          L 640
  790.  
  791.    Summary:
  792.  
  793.    (F1)  or H      Read on-line condensed help file AFIT3HLP.HLP.
  794.  
  795.  
  796.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  797.  
  798.  
  799.  
  800.  
  801.  
  802.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   15 --
  803.  
  804.  
  805.  
  806.    !H              Read on-line user-manual help file AFIT3MAN.HLP.
  807.  
  808.    (F2)  or  @H    Read application help file *.HLP.  Enter filename
  809.                    in response to prompt.  If found, program will not
  810.                    prompt unless (F1), H, !H or @C is typed.               L 650
  811.  
  812. -> Inactivate variable:   I   !I   @I
  813.  
  814.          "I" inactivates an equation or variable.  The "=" will
  815.          disappear.  Used to indicate dummy eqns for D, G and U.
  816.          Inactive equations are not plotted.  "!I" inactivates all
  817.          dependent or independent variables at once.  The location of
  818.          the cursor determines which set.  "@I" inactivates all
  819.          variables at once.  Also use the apostrophe command 'INA
  820.          varname (enter) for the same purpose.  See below for more         L 660
  821.          details.  Use the commands "A", "!A" or "@A" to activate an
  822.          equation or variable.
  823.  
  824. -> Inspect a too-long-to-display equation
  825.  
  826.          Move the cursor to the desired equation, type "@/" and type
  827.          "(esc) (enter)" or "(ctrl Q)" to exit to the equation display
  828.          without any changes.  Remember that the immediate calc buffer
  829.          (command "|") now contains this equation and it can be dumped
  830.          with the "(alt 9)" command in the edit mode.                      L 670
  831.  
  832. -> Modify an equation:   @/
  833.  
  834.          Move the cursor to the desired equation, type "@/" and make
  835.          changes.  Type "(enter)".  Remember that the immediate calc
  836.          buffer (command "|") now contains the original equation.
  837.  
  838. -> Multiple calculations: apostrophe command 'IMM
  839.  
  840.          The apostrophe command 'IMM allows multiple calculations to be    L 680
  841.          performed from the main equation display.  These calculations
  842.          can reference any defined variable and if a calculation results
  843.          in the creation of a new variable it is assigned as a storage
  844.          variable.  The main display equations are not evaluated
  845.          during/after these calculations.  For example the immediate
  846.          calc:  'IMM y=sqr(2*x)+b z=2*y (enter) would assign variables Y
  847.          and Z the results of these calculations.  The immediate calc
  848.          buffer is updated following this calculation.  The ":" implies
  849.          the value of the variable the cursor resides on.  For example
  850.          the immediate calc:  'imm sqr(2*:+45) (enter) would use the       L 690
  851.  
  852.  
  853.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  854.  
  855.  
  856.  
  857.  
  858.  
  859.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   16 --
  860.  
  861.  
  862.          value of the variable the cursor is on and would assign the
  863.          result to this variable.
  864.  
  865. -> Plot equation:   P
  866.  
  867.          "P" plots the active equation(s) vs.  coordinate.  See below
  868.          for a complete discussion of the additional commands that can
  869.          be used while the plot screen is displayed.  The cursor should
  870.          reside on the independent variable to be the coordinate of the
  871.          x-axis, if some var is not already designated.  A coordinate      L 700
  872.          variable has a ":" following its name.
  873.  
  874. -> Printer initialization:  !P    @P
  875.  
  876.          Use "!P" to initialize printer for NLQ (double strike)
  877.          printing.  Use "@P" to reset printer and cancel NLQ printer.
  878.  
  879. -> Program name and version number:  @C
  880.  
  881.          Use "@C" to recalculate with the program name and version #.      L 710
  882.  
  883. -> Recalling last immediate calculation:  |
  884.  
  885.          "|" displays the last immediate calculation and position the
  886.          cursor after an imbedded apostrophe (').  Use edit keys to
  887.          change a calculation and use (enter) to execute.  Use (alt 9)
  888.          to insert the current immediate calc before the cursor when in
  889.          the edit mode.  Use (alt 4) and (alt 5) to toggle to previous
  890.          calculations saved on the immediate calc text stack.  The "|"
  891.          command allows a single calculation to be entered and the main    L 720
  892.          display equations are evaluated after this calculation.  On the
  893.          other hand, the immediate calc apostrophe command 'IMM allows
  894.          multiple calculations to be entered and the main display
  895.          equations are not evaluated during/after these calculations.
  896.  
  897. -> Reference to current value of variable in calculations
  898.  
  899.          Use ":" to designate the current value of variable on which the
  900.          cursor resides while entering an immediate calculation.  For
  901.          example, if the cursor is on variable A which currently equals    L 730
  902.          10, then typing 2*:+6 (enter) will result in A being set to 26.
  903.  
  904. -> Remove an equation:   @/
  905.  
  906.          Move the cursor to the desired equation, type "@/" and type
  907.          (end esc) "" (enter).  Remember that the immediate calc buffer
  908.  
  909.  
  910.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  911.  
  912.  
  913.  
  914.  
  915.  
  916.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   17 --
  917.  
  918.  
  919.          (command "|") now contains the original equation.  Should you
  920.          wish to add it back, type "(F6) or "!/" to edit equations,
  921.          locate cursor and type "(alt 9)" to insert it before the
  922.          cursor.                                                           L 740
  923.  
  924. -> Repetitive calculations without variables
  925.  
  926.          To perform repetitive calculations without variables such as
  927.          adding and subtracting numbers, get to the "-- ?  Equations(s)"
  928.          prompt by typing (F6) or "!/".  Type (end esc) to clear the
  929.          field.  Enter the calculations such as 23.45+46.78-32.00
  930.          (enter).  The text of the calculations is now stored on the
  931.          immediate calc text stack.  Use the (alt 4) and (alt 5) keys to
  932.          toggle back and forth to previous calculations.  The (alt 6)      L 750
  933.          key is used to insert the entire immediate calc text stack into
  934.          the present calculation and the (alt 7) key is used to replace
  935.          the current calculation with the entire contents of the
  936.          immediate calc text stack.  To exit the Program, type (end esc)
  937.          "" (enter) to return to equation display and then type "E".
  938.  
  939. -> Saving equation in immediate calc text buffer: !|
  940.  
  941.          "!|" replaces immediate calc buffer with the equation on which
  942.          cursor resides and updates the immediate calc text stack with     L 760
  943.          the previous contents.
  944.  
  945. -> Saving comment in immediate calc text stack:  @|
  946.  
  947.          "@|" replaces immediate calc buffer with comment and updates
  948.          immediate calc text stack with the previous contents of the
  949.          buffer.  One can use "@|" to transfer equations/values from the
  950.          comment to the equations and or variables.  Once the
  951.          comment is on the immediate calc text buffer it can be recalled
  952.          in the edit mode by using (alt 4) and (alt 5) keystrokes.  The    L 770
  953.          text can be edited to select what is desired.
  954.  
  955. -> Screen dump to text file:  V
  956.  
  957.          "V" dumps the equations display (or the plot) to a text file.
  958.          Used to save calculations or plots for inclusion in reports,
  959.          etc.  Program name and date/time are appended.  The complete
  960.          equations, comment and values/status of the variables are
  961.          appended at the end in the 'EQU format.  These files can be
  962.          used to build a user-generated application file.  Enter           L 780
  963.          filename in response to prompt.  Note:  Filenames ending in
  964.          numeric extensions from "000" to "999" are automatically
  965.  
  966.  
  967.     ------- 1.04 -- Summary of Letter Commands Used in Equations Display ---
  968.  
  969.  
  970.  
  971.  
  972.  
  973.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   18 --
  974.  
  975.  
  976.          incremented each time the command is used.  Thus, SCRN.001 -->
  977.          SCRN.002 --> SCRN.003 and so on.  Filenames can be specified
  978.          with paths.  For example:  \data\calc.001,
  979.          \project\p23\screen.056, d:\appl\calc10.new If a file already
  980.          exists, the program will prompt to "APPEND" or to "REPLACE".
  981.  
  982. -> Set all variables to same value: ?   !?   @?
  983.                                                                            L 790
  984.          "?" sets values of all variables to a constant.
  985.          Active/inactive status of variables not affected.  Use "!?" to
  986.          set all dependent or independent variables only.  The location
  987.          of the cursor determines which set.  Use "@?" to set all
  988.          variables to a constant and to change status of all variables
  989.          to active.  Constant may be explicitly specified or be the
  990.          current value of any variable or the result of a simple
  991.          calculation such as 2*A.
  992.  
  993. -> Turn sound on/off:   !B    @B                                           L 800
  994.  
  995.          "!B" turns beeping sound "on" at various locations in program.
  996.          "@B" Turns beeping "off" at most places including warnings.
  997.          The default is sound "off".
  998.  
  999. -> Universal quit:   (ctrl Q)
  1000.  
  1001.          "(ctrl Q)" will cause control to return to the equation display
  1002.          but only if valid equations exist in the program.  "The
  1003.          universal quit".  Use the (ctrl Q) anywhere to get back to a      L 810
  1004.          familiar part of the program which is usually the main equation
  1005.          display.
  1006.  
  1007. ╒═══════════════╕
  1008. │ F1 - F10 KEYS └───────────────────────────────────────────────────────
  1009.  
  1010. 1.05    F1-F10 Keys, Commands assigned.
  1011. ────────────────────────────────────────────────────────────────────────
  1012.  
  1013.    Key    Command    Purpose                                               L 820
  1014.  
  1015.    F1     help       Access on-line help file AFIT3HLP.HLP
  1016.  
  1017.    F2     appl help  Access application on-line help file.
  1018.  
  1019.    F3     exit       Exit from program
  1020.  
  1021.    F4     shell      Shell to DOS, type exit (enter) to return.
  1022.  
  1023.  
  1024.     ---------------------------- 1.05 -- F1-F10 Keys, Commands assigned. ---
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   19 --
  1031.  
  1032.  
  1033.  
  1034.    F5     comment    "? comment" prompt                                    L 830
  1035.  
  1036.    F6     equation   "? equation" prompt.
  1037.  
  1038.    F7     directory  "Directory of *.EQU" prompt.
  1039.  
  1040.    F8     get file    Get a file of equations (*.equ)
  1041.  
  1042.    F9     save file   Save the current equations (*.equ)
  1043.  
  1044.    F10    prod info   List product information.                            L 840
  1045.  
  1046. ╒════════════════════╕
  1047. │ SPECIAL OPERATIONS └──────────────────────────────────────────────────
  1048.  
  1049. 1.06    Command Sequences Used to Perform Special Operations
  1050. ────────────────────────────────────────────────────────────────────────
  1051.  
  1052. -> Saving and inserting one or more equations into existing equations.
  1053.  
  1054.          1) Type @L to clear immediate text stack.                         L 850
  1055.  
  1056.          2) Move cursor to each equation.  Type !|
  1057.  
  1058.          3) Type !/ to edit equations.
  1059.  
  1060.          4) Mover cursor to place for insert, type (alt 6).  Remember:
  1061.          all dependent vars must have different and unique names to
  1062.          first 8 characters.  Edit as necessary.
  1063.  
  1064.          5) Type (enter) to load equations and return to main equation     L 860
  1065.          display.
  1066.  
  1067. ╒══════════════╕
  1068. │ EDITING KEYS └────────────────────────────────────────────────────────
  1069.  
  1070. 1.07    Editing Keys: Functions During Text Entry
  1071. ────────────────────────────────────────────────────────────────────────
  1072.  
  1073.          Editing keys can be used whenever the underscore cursor "_" is
  1074.          flashing on the screen.  At these instances, any character        L 870
  1075.          above the cursor will also blink.  A summary of the editing
  1076.          keys follows.
  1077.  
  1078.          (esc) - Clear the entire text, line or number.  If cursor on
  1079.  
  1080.  
  1081.     ------------------ 1.07 -- Editing Keys: Functions During Text Entry ---
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   20 --
  1088.  
  1089.  
  1090.          first position of field, specifies the escape sequence (ctrl Q)
  1091.          discussed below.  Note, if the program is started with an
  1092.          improper equation, either correct the equation or type (end
  1093.          esc) then "" (enter) to load the default equations.
  1094.  
  1095.          (backspace) - Delete character directly in front of cursor.       L 880
  1096.  
  1097.          (tab) - Move cursor 5 characters to right.
  1098.  
  1099.          (shift tab) - Move cursor 5 characters to left.
  1100.  
  1101.          (home) - Move cursor to beginning of text.
  1102.  
  1103.          (ctrl) (home) - Delete all before cursor to beginning of text.
  1104.  
  1105.          (ctrl) (PrtSc) - Redraw all lines of the current text.            L 890
  1106.  
  1107.          (arrow up) - Move cursor one line up, if possible.
  1108.  
  1109.          (arrow left) - Move cursor one character to left.
  1110.  
  1111.          (ctrl) (arrow left) - Move cursor 5 characters to left.
  1112.  
  1113.          (arrow right) - Move cursor one character to right.
  1114.  
  1115.          (ctrl) (arrow right) - Move cursor 5 characters to right.         L 900
  1116.  
  1117.          (end) - Move cursor to end of text.
  1118.  
  1119.          (ctrl) (end) - Delete all from cursor to end of text.
  1120.  
  1121.          (arrow down) - Move cursor one line down, if possible
  1122.  
  1123.          (ins) - Insert text before cursor.  Toggle on and off.
  1124.  
  1125.          (del) - Delete character at cursor.                               L 910
  1126.          In insert mode (large cursor), the cursor character is
  1127.          deleted and the entire remaining text is shifted left.  In the
  1128.          replace mode (small cursor), the cursor character is deleted
  1129.          but only text on the current line is shifted left.
  1130.  
  1131.          (enter) - Used to terminate a string of information which is to
  1132.          be entered into the program.
  1133.  
  1134.          (ctrl enter) - Same function as enter but prevents the program
  1135.          from calculating the main equations when appropriate.             L 920
  1136.  
  1137.  
  1138.     ------------------ 1.07 -- Editing Keys: Functions During Text Entry ---
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   21 --
  1145.  
  1146.  
  1147.  
  1148.          (ctrl Q) - Quit entry, erase information and return back into
  1149.          the program.  Used to return to program if the wrong command
  1150.          was typed.  "The universal quit".
  1151.  
  1152.          (alt 1) - Fill current line to end with spaces (if necessary)
  1153.          and move cursor to the next line.  Used to provide the
  1154.          "carriage return" function in the text edit mode.
  1155.  
  1156.          (alt 2) - Split line at cursor.                                   L 930
  1157.          To insert a blank line, position cursor on start of line and
  1158.          type (alt 2). Line is inserted before cursor.
  1159.  
  1160.          (alt -)  Join function. Cursor must be on space (blank).
  1161.          The opposite of the split function (alt 2). Removes the cursor
  1162.          blank and all following blanks up to first non-blank character
  1163.          across the entire text.
  1164.  
  1165.          (alt 3) - Add all remaining lines and fill with spaces.  This
  1166.          is essentially full-screen edit because information can be        L 940
  1167.          enter anywhere in the allowed field.
  1168.  
  1169.          (alt 4) - Toggle to previous calculation or text stored in the
  1170.          immediate calculation text stack and replace current text.
  1171.          Note:  If a mistake occurs, type (ctrl Q) to exit.  The imm
  1172.          calc text stack is updated with information from the immediate
  1173.          calculation, command |.
  1174.  
  1175.          (alt 5) - Toggle in opposite direction to that of (alt 4).
  1176.                                                                            L 950
  1177.          (alt 6) - Insert the entire text of the immediate calculation
  1178.          text stack before the cursor.
  1179.  
  1180.          (alt 7) - Replace current text with entire contents of
  1181.          immediate calculation text stack.
  1182.  
  1183.          (alt 8) - Clear all text from immediate calculation text stack.
  1184.  
  1185.          (alt 9) - Insert the text of the last immediate calculation
  1186.          before the cursor.  The immediate calculation is command |.       L 960
  1187.  
  1188. ╒════════════════╕
  1189. │ EQUATION ENTRY └──────────────────────────────────────────────────────
  1190.  
  1191. 2.01    Entering Equations Into the Program
  1192. ────────────────────────────────────────────────────────────────────────
  1193.  
  1194.  
  1195.     ------------------------ 2.01 -- Entering Equations Into the Program ---
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   22 --
  1202.  
  1203.  
  1204.  
  1205.          An equation or a series of equations is entered into the
  1206.          program in response to the prompt "-- ?  Equation(s) -->".
  1207.          While the screen is displaying the equations, type (F6) or        L 970
  1208.          "!/".  Use the edit keys, as discussed above, to enter the
  1209.          equations.  In particular note that the "(end esc)" key clears
  1210.          the screen.  Following a successful evaluation of the
  1211.          equations, the program will prompt "-- ?  Comment -->".  At
  1212.          this time a comment can be added to describes the equations,
  1213.          their use, meaning of of variables, etc.  Double quote marks
  1214.          are required to preserve string spacing.  To clear away an old
  1215.          comment type (end esc) "" (enter).  The "" signifies an empty
  1216.          or null character string.  To enter three equations, one might
  1217.          type (F6) then:                                                   L 980
  1218.  
  1219.          (end esc) y1=a+b+c y2=a-b-c y3=a-b+c (enter)
  1220.  
  1221.          Next, to enter a comment, one might type:
  1222.  
  1223.          (end esc) "Three equations with three unknowns." (enter)
  1224.  
  1225.          Note:  The string does not have to be enclosed in quotes,
  1226.          however if quotes are used, make sure that there are 2 -- one
  1227.          at each end!                                                      L 990
  1228.  
  1229.          If one enters equations without any independent variables, then
  1230.          the program will perform the calculations and prompt "?
  1231.          Equation(s)".  For example, one can enter a series of
  1232.          equations:
  1233.  
  1234.          (end esc) y1=1+2+3 y2=1-2-3 y3=1-2+3 (enter)
  1235.  
  1236.          The values of y1, y2 and y3 are remember and can be referenced
  1237.          in the next calculation.  For example:                           L 1000
  1238.  
  1239.          (end esc) y1=y1-10 y2=y2-20 y3=y3-30 (enter)
  1240.  
  1241.          Also, more than one calculation can be performed if expressions
  1242.          are enclosed in parentheses.  For example:
  1243.  
  1244.          (end esc) (1-45) (23+45+67) (sqr(4/98)) (enter)
  1245.  
  1246.          Use the (ctrl Q) keys to abruptly and immediately terminate
  1247.          anything!                                                        L 1010
  1248.  
  1249.  
  1250.  
  1251.     ------------------------ 2.01 -- Entering Equations Into the Program ---
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   23 --
  1258.  
  1259. ╒═══════════════════╕
  1260. │ WRITING EQUATIONS └───────────────────────────────────────────────────
  1261.  
  1262. 2.03    Writing Equations: Definition of Terms
  1263. ────────────────────────────────────────────────────────────────────────
  1264.  
  1265.          Before any further discussion of equations and their
  1266.          evaluation, the user should become familiar with the following
  1267.          terms:                                                           L 1020
  1268.  
  1269.          ■ EQUATION:  A symbolic recipe for calculating a number
  1270.          associated with a dependent variable.  An equation consists of
  1271.          a dependent variable followed by an equal sign and ending with
  1272.          a series of mathematical operations involving constants,
  1273.          independent variables, functions and dependent variables.  An
  1274.          INCONSISTENT EQUATION is one in which the final value of the
  1275.          dependent variable depends on its initial value in some way.
  1276.          Counters, such as COUNT=COUNT+1, and summers, such as
  1277.          TOTAL=TOTAL+X, are good examples.                                L 1030
  1278.  
  1279.          ■ DEPENDENT VARIABLE:  A name, beginning with a letter, which
  1280.          identifies a variable whose value is calculated.  The dependent
  1281.          variable usually appears to the left of the equal sign but it
  1282.          may also appear to the right in certain cases.  Each equation
  1283.          must have a unique name for its dependent variable.
  1284.  
  1285.          ■ INDEPENDENT VARIABLE:  A name, beginning with a letter, which
  1286.          identifies a variable whose value is assigned.  The value of an
  1287.          independent variable usually does not change as the result of a  L 1040
  1288.          calculation.  An independent variable always appears to the
  1289.          right of the equal sign.
  1290.  
  1291.          ■ STORAGE VARIABLE:  A variable which is used similarly to an
  1292.          independent variable and is created as the result of an
  1293.          assignment statement.  For example, an assignment statement
  1294.          might be PI=3.1415926 and an equation using PI might be
  1295.          AREA=PI*RADIUS^2.  The values of the storage variables are
  1296.          saved independently of the dependent and independent variables.
  1297.                                                                           L 1050
  1298.          ■ CONSTANT:  A number whose value is explicitly defined and
  1299.          does not ever change.  Numbers may be in the integer format (no
  1300.          decimal point), decimal format or floating (exponential)
  1301.          format.  Some examples are:
  1302.  
  1303.          INTEGER:  -50, 100, 0
  1304.  
  1305.          DECIMAL:  -49.95, 99.67, 0.0
  1306.  
  1307.  
  1308.     --------------------- 2.03 -- Writing Equations: Definition of Terms ---
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   24 --
  1315.  
  1316.  
  1317.  
  1318.          FLOATING or EXPONENTIAL:  -1E-3, 1.674E+6, 0.0E0, 3.2D-3 Note:   L 1060
  1319.          E-3 or D-3 means 10^-3
  1320.  
  1321.          ■ FUNCTION:  A special mathematical recipe that has an argument
  1322.          enclosed in parentheses.  A special number is calculated from
  1323.          the value of the argument.  See help file for more details.
  1324.          For example:
  1325.  
  1326.          E=M*C^2 AVERAGE=(ITEM1+ITEM2)/ABS(N) Y=3*COS(X)^2-1
  1327.  
  1328.                  Dependent variables: E, AVERAGE, Y                       L 1070
  1329.                  Constants: 2, 3, 1
  1330.                  Independent variables: M, C, ITEM1, ITEM2, N, X
  1331.                  Functions: ABS(...), COS(...)
  1332.                  Math operations: * (multiplication), ^ (power),
  1333.                                   + (addition), / (division)
  1334.                                   - (subtraction)
  1335.  
  1336.          Note:  Parentheses specify the order of the calculation.
  1337.  
  1338.          All equations begin with a dependent variable, whose value is    L 1080
  1339.          calculated by the equation.  The dependent variable is followed
  1340.          by an equal sign "=".  Following the "=" sign are a collection
  1341.          of constants, independent variables, dependent variables and
  1342.          functions.  Pairs of parentheses are used to group terms and to
  1343.          specify the the order of a given calculation, especially when
  1344.          the desired order opposes the default priorities discussed
  1345.          below.  More than one equation can be entered in response to
  1346.          the "?  Equation(s)" prompt.  If you enter more than one
  1347.          equation, you should be careful with the use of spaces!  The
  1348.          equations, including spaces, cannot exceed 1840 characters (23   L 1090
  1349.          lines).
  1350.  
  1351.          An example of a group of equations is:
  1352.  
  1353.                        H=1+C*R1*R2/(R1+R2)
  1354.                        A=20*LOG(X^(2*Y))
  1355.                        E=P*(A-D)/2
  1356.                        REL_MIN=SQR(1+DMIN^2)
  1357.                        EMAX[Q]=-LOG10(SQR(1-Q^2))
  1358.                                                                           L 1100
  1359.             Dependent variables: H, A, E, REL_MIN, EMAX[Q]
  1360.             Constants: 1, 20, 2
  1361.             Independent variables: C, R1, R2, X, Y, A, D,
  1362.                                    DMIN, Q
  1363.  
  1364.  
  1365.     --------------------- 2.03 -- Writing Equations: Definition of Terms ---
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   25 --
  1372.  
  1373.  
  1374.             Functions: LOG(...), SQR(...), LOG10(...)
  1375.             Math operations:  + (addition),
  1376.                               * (multiplication),
  1377.                               / (division), ^ (power)
  1378.                               - (subtraction), - (negation)
  1379.                                                                           L 1110
  1380. ╒════════════════╕
  1381. │ EQUATION RULES └──────────────────────────────────────────────────────
  1382.  
  1383. 2.10     Rules for Writing Algebraic Expressions, Formulas
  1384.               and Equations
  1385. ────────────────────────────────────────────────────────────────────────
  1386.  
  1387.          Algebraic expressions, formulas and equations are virtually
  1388.          identical mathematically and will all be collectively called
  1389.          "equations" in this Manual.  The rules for writing equations     L 1120
  1390.          are fairly universal.  Equations are entered using the
  1391.          conventions found in the BASIC computer language.  In
  1392.          particular, the user should note that an implied multiplication
  1393.          is not allowed.  Thus AB would be interpreted as a variable
  1394.          name and A*B, as multiplication.  Also, operations of equal
  1395.          priority always execute from left to right.  The rules are:
  1396.  
  1397.          ■ All variable names must begin with either an English capital
  1398.          letter.  (Lower case letters will be converted to upper case)
  1399.          or a Greek letter such as α, ß, Γ, π, Σ, σ, µ, τ, Φ, Θ, Ω, or    L 1130
  1400.          δ.  To enter these Greek letters use the keypad numbers.  Hold
  1401.          down the (alt) key and type the following ASCII codes on the
  1402.          keypad and then release the (alt) key.  α 224, ß 225, Γ 226, π
  1403.          227, Σ 228, σ 229, µ 230, τ 231, Φ 232, Θ 233, Ω 234, δ 235.
  1404.          Variable names such as AMAX, EMIN, TIME_OF_DAY, F[T] are ok but
  1405.          123ABC is invalid.  The remaining characters can be any ASCII
  1406.          characters with values greater than ASCII 32 which is the
  1407.          "(space)".  For example, "R║" and "R┴" may be used to define
  1408.          variables where the ║ (ASCII 186) conveys "parallel" and the ┴
  1409.          (ASCII 193) conveys "perpendicular".  If an embedded space is    L 1140
  1410.          desired, use ASCII 255 which is the "alternate" blank.  Note,
  1411.          the "normal" space (ASCII 32) is a separator.
  1412.  
  1413.          ■ Variable names can be any length of characters but only the
  1414.          first 8 are significant.  Thus variable names such as MINIMUM_,
  1415.          MINIMUM_HEIGHT, MINIMUM_VALUE and MINIMUM_LENGTH are all
  1416.          equivalent.
  1417.  
  1418.          ■ Variable names must be different from the names of the
  1419.          intrinsic functions described above.  Thus Y=SINZ+LOGQ would be  L 1150
  1420.  
  1421.  
  1422.     ---------- 2.10 -- Rules for Writing Algebraic Expressions, Formulas ---
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   26 --
  1429.  
  1430.  
  1431.          ok but Y=SINH*LOG is invalid because SINH and LOG are the names
  1432.          of intrinsic functions.  The names of the intrinsic functions
  1433.          are reserved words.  Don't use them for the names of variables!
  1434.  
  1435.          ■ Equations must begin with the name of a single dependent
  1436.          variable.  If a group of equations is entered, each equation
  1437.          must have a dependent variable with a unique, different and
  1438.          allowed name.  For example, Y1=A+B Y2=A-B not Y=A+B Y=A-B.
  1439.  
  1440.          ■ The dependent variable must be followed by an equal sign and   L 1160
  1441.          the remainder of the equation.  Intervening spaces are ok.  For
  1442.          example:  Y=M*X+B not Y-B=M*X.  Operations are not allowed to
  1443.          the left of the equal sign.  See other rules below.
  1444.  
  1445.          ■ Spaces and commas are allowed within the equation(s).  Most
  1446.          are ignored and removed by the program.  Use them in numbers
  1447.          for ease of entry:  1,000,000 or 1 000 000 or 1000000.  Y =
  1448.          2,000 * ( X + 3 0 * Z ) is equivalent to Y=2000*(X+30*Z).  If
  1449.          exponential notation is used in a number then the "E" or "D"
  1450.          must immediately follow the last digit of the number.  Thus,     L 1170
  1451.          1.45E-2, 1 .  4 5E - 2 and 1.45E -2 are equivalent but 1.45 E-2
  1452.          signifies two equations:  The first contains the number 1.45
  1453.          and the second, the variable E minus 2.  Separate all equations
  1454.          by at least one space.
  1455.  
  1456.          ■ There must be at least one constant, independent variable or
  1457.          dependent variable to the right of the equal sign.  For
  1458.          Example:  Y=3, Z=X, W=SIN(0.7), A=A+1.  A single equation with
  1459.          only constants to the right of the equal sign, such as
  1460.          Y=SQR(4)+ABS(-3), is calculated and then the program prompts     L 1180
  1461.          for a new equation.
  1462.  
  1463.          ■ Parentheses must always be matched.  They must always occur
  1464.          in pairs.  For example:  Y=(3*X)-2 and Y=3*(X-2) not
  1465.          Y=LOG(SQR(1-X^2).
  1466.  
  1467.          ■ An empty pair of parentheses is not allowed.  Y=SIN() and
  1468.          Y=3+()-4 are not allowed.
  1469.  
  1470.          ■ Independent variables with the same names, that are used in    L 1190
  1471.          different equations, always share the same memory locations.
  1472.          Their values are always in common to all equations.  To make an
  1473.          independent variable unique, it should be given a unique name.
  1474.  
  1475.          ■ If a group of equations is entered, the first equation is the
  1476.          "nearest to start" of the string and the last equation is the
  1477.  
  1478.  
  1479.     ---------- 2.10 -- Rules for Writing Algebraic Expressions, Formulas ---
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   27 --
  1486.  
  1487.  
  1488.          "nearest to end".  Calculations proceed from the first equation
  1489.          to the last.  For example, a group of equations might be:
  1490.  
  1491.                        N=N+1                                              L 1200
  1492.                        YTOTAL=YTOTAL+X
  1493.                        YAVE=YTOTAL/N
  1494.  
  1495.          Each time that a calculation is made, the following happens.
  1496.          The current value of N, a counter, will be increased by 1.  To
  1497.          the current value of YTOTAL is added the value of X.  The
  1498.          average value, YAVE, is calculated as YTOTAL divided by N.  "N"
  1499.          and "YTOTAL" are termed inconsistent equations because they do
  1500.          not represent math equalities.
  1501.                                                                           L 1210
  1502. ╒═════════════╕
  1503. │ PARENTHESES └─────────────────────────────────────────────────────────
  1504.  
  1505. 2.15    Rules for Evaluation of Parentheses
  1506. ────────────────────────────────────────────────────────────────────────
  1507.  
  1508.          ■ Nested parentheses, that is, parentheses within parentheses,
  1509.          are evaluated from innermost to outermost matched pairs.  For
  1510.          example, if Y=ABS(5+LOG10(3*X+2)-6) then 3*X+2 would be
  1511.          performed first, then 5+LOG10(..)+6, then ABS(...).  If          L 1220
  1512.          Y=(((X+1)/2)*3)+4, then X+1 would be performed first, then /2,
  1513.          then *3, then +4.
  1514.  
  1515.          ■ Matched parentheses are always evaluated from left to right.
  1516.          For example:  if Y=(3+X)+(4-X)/(X^2-1) then 3+X would be
  1517.          performed first followed by 4-X and X^2-1.  Finally, the
  1518.          results of the last two parentheses would be divided and that
  1519.          result added to the first parentheses.
  1520.  
  1521.          ■ The maximum number of pairs of parentheses in any equation is  L 1230
  1522.          128 and parentheses may be nested in any depth up to 128.
  1523.  
  1524. ╒════════════════════╕
  1525. │ BUILT-IN FUNCTIONS └──────────────────────────────────────────────────
  1526.  
  1527. 2.20    Rules for Evaluation of Intrinsic Functions
  1528. ────────────────────────────────────────────────────────────────────────
  1529.  
  1530.          ■ The names of the intrinsic functions are reserved words and
  1531.          these names cannot be used as the names of variables.  For       L 1240
  1532.          example, Y=SIN(X) is ok but Y=SIN+X is not allowed.
  1533.  
  1534.  
  1535.  
  1536.     ---------------- 2.20 -- Rules for Evaluation of Intrinsic Functions ---
  1537.  
  1538.  
  1539.  
  1540.  
  1541.  
  1542.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   28 --
  1543.  
  1544.  
  1545.          ■ Operations within a function are always performed prior to
  1546.          the evaluation of that function.  For example if Y=SIN(2*PI*X)
  1547.          then the order of evaluation would be 2*PI*X and then SIN(...).
  1548.  
  1549.          ■ Nested functions are always evaluated from innermost to
  1550.          outermost function.  For example if Y=LOG(ABS(SIN(X))) then the
  1551.          order of evaluation would be SIN(...) then ABS(...) then
  1552.          LOG(...).                                                        L 1250
  1553.  
  1554.          ■ Functions are evaluated from left to right.  For example, if
  1555.          Y=SIN(X)+COS(X)+LOG(X) then the order of evaluation would be
  1556.          SIN(...) then COS(...) then LOG(...).
  1557.  
  1558. ╒═════════════════╕
  1559. │ MATH OPERATIONS └─────────────────────────────────────────────────────
  1560.  
  1561. 2.25    Rules for Evaluation of Mathematical Operations
  1562. ────────────────────────────────────────────────────────────────────────  L 1260
  1563.  
  1564.       ■  Highest priority: power (exponentiation)    Y=X^2
  1565.                            leading negation          Y=-X
  1566.                            multiplication, division  Y=3*X, Y=X/4
  1567.          lowest priority:   addition, subtraction     Y=X+10, Y=X-7
  1568.  
  1569.       ■  Operations of the same priority are evaluated from left to
  1570.          right.  For example:
  1571.  
  1572.                  Y=2^2^3       (=64, not 256!)                            L 1270
  1573.                  Y=8+4/4-2*5   (=-1, not 5!)
  1574.                  Y=-4^2        (=-16, not 16!)
  1575.                  Y=2+4*2^2/4   (=6, not 36!)
  1576.  
  1577.       ■  Parentheses can be used to change the order of mathematical
  1578.          operations.  For example:
  1579.  
  1580.                  Y=2^(2^3)         (=256, not 64!)
  1581.                  Y=((8+4)/4-2)*5   (=5, not -1!)
  1582.                  Y=(-4)^2          (=16, not -16!)                        L 1280
  1583.                  Y=((2+4)*2)^2/4   (=36, not 6!)
  1584.  
  1585.       ■  Redundant or superfluous operations will be simplified and/or
  1586.          eliminated from the equations.  These operations usually
  1587.          include multiple combinations of the "+" and "-" with
  1588.          themselves or other operators.  For example:
  1589.  
  1590.                  Y=-+A or Y=+-A --> Y=-A
  1591.  
  1592.  
  1593.     ------------ 2.25 -- Rules for Evaluation of Mathematical Operations ---
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   29 --
  1600.  
  1601.  
  1602.                  Y=--A or Y=++A --> Y=A
  1603.                  Y=A^-+2 or Y=A^+-2 --> Y=A^-2                            L 1290
  1604.                  Y=10/+A --> Y=10/A
  1605.                  Y=A*+50 --> Y=A*50
  1606.                  Y=-+-+-+A --> Y=-A
  1607.  
  1608. ╒════════════════╕
  1609. │ MATH FUNCTIONS └──────────────────────────────────────────────────────
  1610.  
  1611. 2.30    Glossary of Intrinsic MATH FUNCTIONS and Function
  1612.              Operators
  1613. ────────────────────────────────────────────────────────────────────────  L 1300
  1614.  
  1615.          The program contains intrinsic mathematical functions which
  1616.          perform well-know calculations based on the value of their
  1617.          arguments.  All functions have names which start with a letter
  1618.          and contain from 3 to 5 characters.  The name is followed by an
  1619.          argument which may be a simple constant, a variable or an
  1620.          expression.  The argument is always enclosed in a matched set
  1621.          of parentheses.  For example:  Y=SIND(45) has a constant, 45,
  1622.          as the argument.  Y=ALOG(X) has a variable, X, as the argument.
  1623.          Y=ABS(4*X-6) has an expression, 4*X-6, as the argument.          L 1310
  1624.          Y=SQR(ABS(X)) has another function, ABS(...), as the argument.
  1625.  
  1626.          Functions are "built in" recipes for performing well-known
  1627.          mathematical operations which are described below.  The
  1628.          argument of a function may be a number or an expression which
  1629.          is always enclosed in parentheses.  Function operators are 2
  1630.          letter suffixes attached to numbers.  Thus SIND(45) and 45SD
  1631.          are equivalent.  Function operators can be attached to any
  1632.          number except the constants in equations entered in response to
  1633.          the prompt "-- ?  Equation(s) -->".  There are one-to-one        L 1320
  1634.          correspondences between functions and operators.  The allowed
  1635.          functions and function operators and their uses are:
  1636.  
  1637.       Op  Function                Purpose
  1638.  
  1639.       AB  ABS(X)  The absolute value of X. If X > or = 0 then ABS(X)=X,
  1640.                   but if X<0 then ABS(X)=-X.
  1641.                   op:  -5AB   10AB   -20AB
  1642.                   func: Y=ABS(-5), Y=5.  Y=ABS(10), Y=10
  1643.                                                                           L 1330
  1644.       OC  ACOS(X)  The inverse cosine of X.  The result is in radians.
  1645.                    ABS(X) must always be < or = to 1.0.
  1646.                   op:  1OS  0OC  .5OC
  1647.                   func: Y=ACOS(1), Y=0.  Y=ACOS(0), Y=1.570796
  1648.  
  1649.  
  1650.     ---------- 2.30 -- Glossary of Intrinsic MATH FUNCTIONS and Function ---
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   30 --
  1657.  
  1658.  
  1659.  
  1660.       DC  ACOSD(X)  The inverse cosine of X.  The result is in degrees.
  1661.                     ABS(X) must always be < or = to 1.0.
  1662.                     op: 1DC  0DC  -.61DC
  1663.                     func: Y=ACOSD(1), Y=0.  Y=ACOSD(0), Y=90
  1664.                                                                           L 1340
  1665.       HC  ACOSH(X)  The inverse hyperbolic cosine of X.
  1666.                     X must always be > or = to 1.0.
  1667.                     op: 1.54308HC  1HC  2HC
  1668.                     func: Y=ACOSH(1.54308), Y=1.  Y=ACOSH(1), Y=0
  1669.  
  1670.       IS  ASIN(X)  The inverse sine of X.  The result is in radians.
  1671.                    ABS(X) must always be < or = to 1.0.
  1672.                    op: 1IS  0IS   .707IS
  1673.                    func: Y=ASIN(1), Y=1.570796.  Y=ACOS(0), Y=0
  1674.                                                                           L 1350
  1675.       DS  ASIND(X)  The inverse sine of X.  The result is in degrees.
  1676.                     ABS(X) must always be < or = to 1.0.
  1677.                     op: 1DS  0DS   .707DS
  1678.                     func: Y=ASIND(1), Y=90.  Y=ASIND(0), Y=0
  1679.  
  1680.       HS  ASINH(X)  The inverse hyperbolic sine of X.
  1681.                     op: 1.17520HS  0HS  1.5HS
  1682.                     func: Y=ASINH(1.17520), Y=1.  Y=ASINH(0), Y=0
  1683.  
  1684.       AT  ATAN(X)  The inverse tangent of X.  The result is in radians.   L 1360
  1685.                    op: 1AT  0AT  2AT
  1686.                    func: Y=ATAN(1), Y=.7853982.  Y=ATAN(0), Y=0.
  1687.  
  1688.       DT  ATAND(X)  The inverse tangent of X. The result is in degrees.
  1689.                     op: 1DT  0DT  2DT
  1690.                     func: Y=ATAND(1), Y=45.  Y=ATAND(0), Y=0
  1691.  
  1692.       HT  ATANH(X)  The inverse hyperbolic tangent of X.
  1693.                     X must always be > -1.0 and < 1.0
  1694.                     op: 0.76159HT  0HT  -.435HT                           L 1370
  1695.                     func: Y=ATANH(0.76159), Y=1.  Y=ATANH(0), Y=0
  1696.  
  1697.       CI  CINT(X)  Convert X to an integer by rounding. The absolute
  1698.                    value of X must always be less than 1E16 for this
  1699.                    to be a meaningful calculation.
  1700.                    op: -5.75CI  12.65CI  4.567CI
  1701.                    func: Y=CINT(-5.75), Y=-6.  Y=CINT(12.65), Y=13.
  1702.  
  1703.       CO  COS(X)  The cosine of X.  X is in radians.
  1704.                   op: 0CO  1.7CO   -.567CO                                L 1380
  1705.  
  1706.  
  1707.     ---------- 2.30 -- Glossary of Intrinsic MATH FUNCTIONS and Function ---
  1708.  
  1709.  
  1710.  
  1711.  
  1712.  
  1713.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   31 --
  1714.  
  1715.  
  1716.                   func: Y=COS(0), Y=1.  Y=COS(1.570796), Y=0.
  1717.  
  1718.       CD  COSD(X)  The cosine of X.  X is in degrees.
  1719.                    op: 0CD  90CD  45CD
  1720.                    func: Y=COSD(0), Y=1.  Y=COSD(90), Y=0
  1721.  
  1722.       CH  COSH(X)  The hyperbolic cosine of X.
  1723.                    op: 1CH  0CH  0.567CH
  1724.                    func: Y=COSH(1), Y=1.54308.  Y=COSH(0), Y=1
  1725.                                                                           L 1390
  1726.       DE  DECM(X)  The signed decimal fraction of the number X
  1727.                    with no rounding.
  1728.                    op: -123.456DE  456.789DE   789.123DE
  1729.                    func: Y=DECM(-123.456), Y=-.456
  1730.                          Y=DECM(456.789), Y=.789
  1731.                    Can be used to calculate the MOD(X) to base Z which
  1732.                    may be decimal. Use Y=Z*DECM(X/Z).
  1733.                    Y=16*DECM(19/16), Y=3   Y=.5*DECM(1.3/.5), Y=.3
  1734.  
  1735.       EX  EXP(X)  The natural or Naperian antilog, base "e".              L 1400
  1736.                   op: 1EX  0EX   .51534EX
  1737.                   func: Y=EXP(1), Y=2.71828.  Y=EXP(0), Y=1.
  1738.  
  1739.       FA  FACT(X)  Factorial of X. X may be a signed integer or
  1740.                    decimal. FACT(6) = 6 * 5 * 4 * 3 * 2 *1
  1741.                              X=0, FACT(0)=1
  1742.                              X>0, FACT(X)= X*(X-1)*(X-2)....*1
  1743.                              X<0, FACT(X)= X*(X+1)*(X+2)....*-1
  1744.                    op: 4FA=24, -4FA=24, 3FA=6, -3FA=-6, 0FA=1, 1FA=1
  1745.                        -3.3FA=-9.867,  -4.3FA=+42.4281                    L 1410
  1746.                    func: Y=FACT(4), Y=24.  Y=FACT(-3), Y=-6.
  1747.  
  1748.       FI  FIX(X)  Truncate X to an integer. No rounding.  The
  1749.                   value of X must always be less than 1E16
  1750.                   for this to be a meaningful calculation.
  1751.                   op: -5.75FI  12.65FI  4.567FI
  1752.                   func: Y=FIX(2.3), Y=2.  Y=FIX(-56.70), Y=-56.
  1753.  
  1754.       LN  LOG(X)  The natural or Naperian log of X.
  1755.                   X must be greater than 0.0                              L 1420
  1756.                   op: 2.71828LN  1LN   6.784LN
  1757.                   func: Y=LOG(2.71828), Y=1.  Y=LOG(1), Y=0.
  1758.  
  1759.       LG  LOG10(X)  The log, base 10, of X.  X must be > 0.0.
  1760.                     op: 10LG  1LG   1002LG
  1761.                     func: Y=LOG10(10), Y=1.  Y=LOG10(1), Y=0.
  1762.  
  1763.  
  1764.     ---------- 2.30 -- Glossary of Intrinsic MATH FUNCTIONS and Function ---
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   32 --
  1771.  
  1772.  
  1773.  
  1774.       NZ  NZE(X)  The "not zero" function. If X=0 then X=10^-30,
  1775.                   a very small number.  Useful in division to prevent
  1776.                   divide by zero errors.                                  L 1430
  1777.                   op: 0NZ  1NZ   .000001NZ
  1778.                   func: Y=NZE(0), Y=1D-30  Y=NZE(1D-15), Y=1D-15
  1779.  
  1780.       RA  RAND(X)  Generates a random number from 0 to 1.
  1781.                    The argument X controls the seeding:
  1782.                    X<0 reseeds the random number generator.
  1783.                    X=0 repeats the last number generate.
  1784.                    X>0 generates the next number in the sequence.
  1785.                    op:    -1RA, new sequence.
  1786.                            1RA, generates the next random number.         L 1440
  1787.                    func: Y=RAND(-1), new sequence.
  1788.                          Y=RAND(1), generates the next random number.
  1789.  
  1790.       RN  RND(X)  Round the number X to two decimal places.  Useful
  1791.                   in financial calculations in order to round decimal
  1792.                   fractions to cents.
  1793.                   op: 123.456RN  -123.543RN   735.196RN
  1794.                   func: Y=RND(123.456), Y=123.46
  1795.                         Y=RND(-123.543), Y=-123.54
  1796.                   To round to other numbers of decimal digits, use the    L 1450
  1797.                   function CINT.  For example, to round X to 3 decimal
  1798.                   places use CINT(1000*X)/1000.
  1799.  
  1800.       SF  SFACT(X)  "Skip" factorial of X. X may be a signed integer or
  1801.                     decimal. Similar to FACT(X) except decrement is by
  1802.                     2.0. If X is an even integer than SFACT(X) is the
  1803.                     product of the even integers and if X is an odd
  1804.                     integer than SFACT(X) is the product of the odd
  1805.                     integers.
  1806.                     SFACT(6) = 6 * 4 * 2, SFACT(7) = 7 * 5 * 3 * 1        L 1460
  1807.                            X=0, SFACT(0)=1
  1808.                            X>0, SFACT(X)= X*(X-2)*(X-4)....*(1 or 2)
  1809.                            X<0, FACT(X)= X*(X+2)*(X+4)....*(-1 or -2)
  1810.                     op: 6SF=48, -5SF=-15, 3SF=3, -3SF=3, 0SF=1, 1SF=1
  1811.                        -3.3SF=+4.29,  -5.3SF=-22.737
  1812.                     func: Y=SFACT(8), Y=384.  Y=SFACT(-7), Y=105.
  1813.  
  1814.       SG  SIGN(X)  Returns the sign of the argument X.
  1815.                    op: -123SG  0SG   256SG
  1816.                    func: Y=SIGN(-123), Y=-1. Y=SIGN(0), Y=0.              L 1470
  1817.                          Y=SIGN(256), Y=1.
  1818.  
  1819.  
  1820.  
  1821.     ---------- 2.30 -- Glossary of Intrinsic MATH FUNCTIONS and Function ---
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   33 --
  1828.  
  1829.  
  1830.       SI  SIN(X)  The sine of X.  X is in radians.
  1831.                   op: 0SI  1.085SI   .657SI
  1832.                   func: Y=SIN(0), Y=0.  Y=SIN(1.570796), Y=1.
  1833.  
  1834.       SC  SINC(X)  The sinc function ( SIN(X)/X ) of X.
  1835.                   op: 0SI  3.0SC   -9.9SC
  1836.                   func: Y=SINC(0), Y=1.  Y=SINC(4.9), Y=-0.200501
  1837.                                                                           L 1480
  1838.       SD  SIND(X)  The sine of X.  X is in degrees.
  1839.                    op: 0SD  90SD   45SD
  1840.                    func: Y=SIND(0), Y=0.  Y=SIND(90), Y=1
  1841.  
  1842.       SH  SINH(X)  The hyperbolic sine of X.
  1843.                    op: 1SH  0SH    .56123SH
  1844.                    func: Y=SINH(1), Y=1.17520.  Y=SINH(0), Y=0
  1845.  
  1846.       SQ  SQR(X)  The square root of the argument X.
  1847.                   X must be > or = to 0.0                                 L 1490
  1848.                   op: 144SQ  100SQ    256SQ
  1849.                   func: Y=SQR(144), Y=12.  Y=SQR(100), Y=10.
  1850.  
  1851.       TA  TAN(X)  The tangent of X.  X is in radians.
  1852.                   op: .815TA  0TA    .312TA
  1853.                   func: Y=TAN(3.15193/4), Y=1.  Y=TAN(0), Y=0.
  1854.  
  1855.       TD  TAND(X)  The tangent of X.  X is in degrees.
  1856.                    op: 45TD  0TD    60TD
  1857.                    func: Y=TAND(45), Y=1.  Y=TAND(0), Y=0                 L 1500
  1858.  
  1859.       TH  TANH(X)  The hyperbolic tangent of X.
  1860.                    op: 1TH  0TH    .3765TH
  1861.                    func: Y=TANH(1), Y=0.76159.  Y=TANH(0), Y=0
  1862.  
  1863.       UI  UIF(X)  The unit impulse (delta) function of X.  If X = 0 then
  1864.                   UIF(X)=1 or if X < 0 or X > 0 then UIF(X)=0.
  1865.                   op: 0UI  6UI   -56UI
  1866.                   func: Y=UIF(3), Y=0.  Y=USF(X-6), X=6, Y=1, X=5, Y=0.
  1867.                                                                           L 1510
  1868.       UR  URF(X)  The unit ramp function of X.  If X > 0 then
  1869.                   URF(X)=X or if X < 0 or X = 0 then URF(X)=0.
  1870.                   op: 0UR  6UR   -56UR
  1871.                   func: Y=URF(3), Y=3.  Y=URF(X-6), X=6, Y=0, X=5, Y=0.
  1872.  
  1873.       US  USF(X)  The unit step function of X.  If X > 0 or X = 0 then
  1874.                   USF(X)=1 or if X < 0 then USF(X)=0.
  1875.                   op: 3US  -6US   -56US
  1876.  
  1877.  
  1878.     ---------- 2.30 -- Glossary of Intrinsic MATH FUNCTIONS and Function ---
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   34 --
  1885.  
  1886.  
  1887.                   func: Y=USF(3), Y=1.  Y=USF(X-6), X=7, Y=1, X=5, Y=0.
  1888.                                                                           L 1520
  1889. ╒════════════════╕
  1890. │ NUMBER FORMATS └──────────────────────────────────────────────────────
  1891.  
  1892. 2.40    Numbers: Format-free, Examples of Formats
  1893. ────────────────────────────────────────────────────────────────────────
  1894.  
  1895.          Numbers can be entered in many convenient forms which usually
  1896.          depend on their magnitudes.
  1897.  
  1898.          ■ DECIMALS:  0.567, -.903                                        L 1530
  1899.  
  1900.          ■ FRACTIONS:  1/4, -45/64, 16/4
  1901.  
  1902.          ■ INTEGERS:  -1, 2, -123
  1903.  
  1904.          ■ FLOATING POINT:  1.2E3, 1.2e3, -123e-2, 1.2D4, 34d1
  1905.  
  1906.          (Note:  E means 10^ thus 1E2 equal 1*10^2 or 100 and usage of
  1907.          "E" and "D" are equivalent.  Thus 1E2 and 1D2 are identical.
  1908.          Maximum FP value of 1E+25. FP numbers with exponents greater     L 1540
  1909.          than +25 will be ignored.)
  1910.  
  1911.          Numbers can also be entered as the result of a mathematical
  1912.          expression:  (34+45)/2, (10+34+56+78)*45, 2*COSD(30)-.467 and
  1913.          so.
  1914.  
  1915.          Commas and spaces within numbers are ignored.  Thus 1,002 and 1
  1916.          002 and 1002 are all equivalent.  Also 18.89 and 1,8.8,9 and 1
  1917.          8 .  8 9 and 1,,,8 .,,,,8 9 and so on are also equivalent.
  1918.                                                                           L 1550
  1919.          Numbers can also include references to previously defined
  1920.          variables.  For example:  PAYMT$-100, PRINCPL$+100.
  1921.  
  1922.          Numbers can also have function operators attached:  45SD,
  1923.          3*60CD-1/3 and so on.
  1924.  
  1925. ╒════════════════╕
  1926. │ DECIMAL DIGITS └──────────────────────────────────────────────────────
  1927.  
  1928. 2.42    Controlling the Number of Decimal Digits                          L 1560
  1929. ────────────────────────────────────────────────────────────────────────
  1930.  
  1931.          The number of significant decimal digits shown in the main
  1932.          equation display can be controlled in two ways:  globally with
  1933.  
  1934.  
  1935.     ------------------- 2.42 -- Controlling the Number of Decimal Digits ---
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   35 --
  1942.  
  1943.  
  1944.          the 'DEC apostrophe command and locally for any variable by
  1945.          appending the decimal operator to dependent and independent
  1946.          variable name.  The 'DEC apostrophe command sets the default
  1947.          number of decimal digits.  For example, 'DEC 2 (enter) would
  1948.          specify 2 decimal digits.  Global defaults also apply to the
  1949.          displayed values of the storage variables and numbers displayed  L 1570
  1950.          on the plot.
  1951.  
  1952.          A variable such as "A" will display up to 7 decimal digits in
  1953.          single precision and up to 16 in double precision.  Appending a
  1954.          period followed by an integer from 0 to 16 to the end of the
  1955.          variable name will result in from 0 to 16 decimal digits being
  1956.          displayed.  However, the internal representation of the number
  1957.          always has full 16 digit resolution.  for example, if A
  1958.          =7.123456789012345 then a variable A.1 would display 7.1, A.2,
  1959.          7.12, ...., A.14, 7.1234567890123 (if double precision display)  L 1580
  1960.          and so on.  A.0 or A.  would round out the decimal and display
  1961.          7.  The decimal operator overrides the global default.
  1962.  
  1963.          The variable names are now A.1, A.2, ....  and they must be
  1964.          referenced that way.  For example, a.3=2*x-67.
  1965.  
  1966.          The decimal operator is most useful for dependent variables
  1967.          since it can be used to display more digits when a lower value
  1968.          has been globally set with the 'DEC apostrophe command.
  1969.                                                                           L 1590
  1970.          As with the foreground and background colors, the global value
  1971.          of the decimal digits is saved with the equations and remains
  1972.          in effect when new equations are read into the program.
  1973.  
  1974. ╒════════════════╕
  1975. │ PROGRAM LIMITS └──────────────────────────────────────────────────────
  1976.  
  1977. 2.45    Maximum Number of Equations, Variables and Constants
  1978. ────────────────────────────────────────────────────────────────────────
  1979.                                                                           L 1600
  1980.          ■ The maximum number of equations that may be entered is 63.
  1981.          For 61 to 63 equations, there is a maximum of 3 independent
  1982.          vars and the comment is not displayed.  For 58 to 60 equations,
  1983.          6 ind vars.  For 1 to 3 equations, 63 independent vars, etc.
  1984.          The equations and ind vars must add up to 64 to 66 or less.
  1985.          The equation(s) can contain a maximum of 1840 characters (23
  1986.          lines).  The maximum number of operations such as additions,
  1987.          multiplications, etc.  is approximately 1000.  "% USE" is the
  1988.          percentage of codespace in use and is displayed after the
  1989.          program name/version.  About 12 operations equal 1 %.  If % USE  L 1610
  1990.  
  1991.  
  1992.     ------- 2.45 -- Maximum Number of Equations, Variables and Constants ---
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   36 --
  1999.  
  2000.  
  2001.          exceeds 99% then immediate calculations may not have sufficient
  2002.          codespace.
  2003.  
  2004.          ■ The maximum number of dependent and independent variables is
  2005.          66.  The maximum number of storage variables is 256.  Note:
  2006.          With storage variables, 63 equations with 259 independent
  2007.          variables can be entered if the storage variables are first
  2008.          defined.  Only 3 independent variables can be displayed.  Three
  2009.          or less equations can contain up to 319 variables:  63
  2010.          independent variables and 256 storage vars.                      L 1620
  2011.  
  2012.          ■ The minimum number of constants is 256 and the maximum number
  2013.          is (322-[total number of variables]).  For example, if there
  2014.          are 2 dependent and 2 independent variables, then there can be
  2015.          a maximum of (322-[2+2])=318 constants.
  2016.  
  2017. ╒═════════════════════╕
  2018. │ AFIT3 PROGRAM LIMITS└─═───────────────────────────────────────────────
  2019.  
  2020. 2.46    Maximum Number of Data Points and Data Coordinates                L 1630
  2021. ────────────────────────────────────────────────────────────────────────
  2022.  
  2023.          ■ The maximum number of data points is 224/(# coordinates +
  2024.          1).  If a data point has one coordinate (X,Y) then max points
  2025.          is 112.  If a data point has two coordinates (X:Z,Y) then max
  2026.          points is 74.
  2027.  
  2028.          ■ The maximum number of coordinate variables for a data point
  2029.          is 14.  The minimum number of optimized variables ("active") is
  2030.          1 and the maximum number is 30 - # coordinate variables.  Thus,  L 1640
  2031.          with (X,Y) data points, (1 coordinate variable X), up to 30-1
  2032.          or 29 variables can be optimized ("active").  As the number of
  2033.          optimized variables increases, the accuracy of initial guesses
  2034.          must also increase!
  2035.  
  2036. ╒═══════════════════╕
  2037. │ ERROR EXPLANATION └───────────────────────────────────────────────────
  2038.  
  2039. 2.50    Errors During Equation Evaluation and Elsewhere
  2040. ────────────────────────────────────────────────────────────────────────  L 1650
  2041.  
  2042.          The program will evaluate the equations by the rules and
  2043.          regulations discussed above.  If an error is detected, then the
  2044.          program will display the location of the error in the equation
  2045.          and a brief error comment describing its nature.  Type any key
  2046.          to continue the program.  The user should correct these errors
  2047.  
  2048.  
  2049.     ------------ 2.50 -- Errors During Equation Evaluation and Elsewhere ---
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   37 --
  2056.  
  2057.  
  2058.          and evaluate the equations again.  An equation-error summary
  2059.          can be found within this help file.
  2060.  
  2061.          Other errors, particularly overflows, may cause the program to   L 1660
  2062.          display the EXEC ERROR message and return to the "?
  2063.          Equation(s)" prompt.  Type (enter) to return to the main
  2064.          equation display.  Record the error # and line number and
  2065.          report it!  See below.
  2066.  
  2067. ╒══════════════════╕
  2068. │ DIRECTORY SCREEN └───────────────────────────────────────────────────
  2069.  
  2070. 3.01    Directory Screen: Commands During Display
  2071. ────────────────────────────────────────────────────────────────────────  L 1670
  2072.  
  2073.          The asterisk commands:  * or (F7), !* and @* are used to
  2074.          generate a directory of 1) equation files with the default
  2075.          extension of .EQU, 2) storage files with the default extension
  2076.          of .STO or 3) application help files with the default extension
  2077.          of .HLP, respectively.  A path for the location of the
  2078.          directory can be specified.  If the desired directory is the
  2079.          current one, simply type (enter) at the prompt or (end esc) ""
  2080.          (enter) to clear any existing path.  The extensions of the
  2081.          files need not be the default ones (.equ, .sto or .hlp).         L 1680
  2082.          However, the selected file will always be loaded as EQU, STO or
  2083.          HLP depending on what asterisk command was used.  The directory
  2084.          does not use the DOS SHELL and COMMAND.COM is not required in
  2085.          any directory.  PATH descriptions can be the same as for the
  2086.          DOS DIR command.  Note:  If a filename is used then it must end
  2087.          in a period or the default extension is used and and if there
  2088.          is no extension then the default extension will always be used.
  2089.          Wildcards "*" and "?" can be used.  Some paths might be:  \CALC
  2090.          \CALC\ANALYSIS \CALC\data???  FORMULA??.  *.DAT and so on.  To
  2091.          search for all files beginning with the letter "a", only, enter  L 1690
  2092.          a path like \CALC\A* and so on.  A summary of the commands used
  2093.          to locate and select a file follow:  Note:  If less than 8
  2094.          filenames, some commands have no function.  If more than 192
  2095.          files, then only the last 192 are listed.
  2096.  
  2097. -> move to first file name of current row
  2098.  
  2099.          (home) - Move highlighted cursor to column 1, the first file of
  2100.          a row
  2101.                                                                           L 1700
  2102. -> move to first file of first row
  2103.  
  2104.  
  2105.  
  2106.     ------------------ 3.01 -- Directory Screen: Commands During Display ---
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   38 --
  2113.  
  2114.  
  2115.          (ctrl) (home) - Move cursor to column 1, row 1, the first file.
  2116.  
  2117. -> move to last file of current row
  2118.  
  2119.          (end) - Move cursor to column 8 of the current row, if
  2120.          possible.
  2121.  
  2122. -> move to last file of last row                                          L 1710
  2123.  
  2124.          (ctrl) (end) - Move cursor to column 8, last row, if possible.
  2125.  
  2126. -> move to top file of current column
  2127.  
  2128.          (PgUp) - Move cursor to top row of current column.
  2129.  
  2130. -> move to bottom file of current column
  2131.  
  2132.          (PgDn) - Move cursor to bottom row of current column.            L 1720
  2133.  
  2134. -> move cursor to next file
  2135.  
  2136.          (cursor) (right) or (tab) - Move cursor to next file.
  2137.  
  2138. -> move cursor to previous file
  2139.  
  2140.          (cursor) (left) or (backspace) - move cursor backwards.
  2141.  
  2142. -> move up by one row                                                     L 1730
  2143.  
  2144.          (cursor) (up) - move cursor up one file in a column.
  2145.  
  2146. -> move down by one row
  2147.  
  2148.          (cursor) (Dn) - move down one file in a column.
  2149.  
  2150. -> return info on highlighted file
  2151.  
  2152.          (space) - returns date and other file info for .EQU files only.  L 1740
  2153.          Displays date (saved with equations) and approx.  68 characters
  2154.          of comment and equations (if comment is less than 68
  2155.          characters).
  2156.  
  2157. -> new path prompt
  2158.  
  2159.          \ - Prompt for new path description.  Use (end esc) "" (enter)
  2160.          to clear the old name.
  2161.  
  2162.  
  2163.     ------------------ 3.01 -- Directory Screen: Commands During Display ---
  2164.  
  2165.  
  2166.  
  2167.  
  2168.  
  2169.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   39 --
  2170.  
  2171.  
  2172.  
  2173. -> exit directory screen to main equation screen                          L 1750
  2174.  
  2175.          (esc) or (ctrl Q) - exit from directory to main equation
  2176.          display
  2177.  
  2178. -> choose a file
  2179.  
  2180.          (enter) - Select file and load as EQU, STO or HLP.
  2181.  
  2182. -> search names by first letter
  2183.                                                                           L 1760
  2184.          letters and other characters - jump to next filename starting
  2185.          with that character, if possible.
  2186.  
  2187. ╒═══════════════╕
  2188. │ PLOT COMMANDS └───────────────────────────────────────────────────────
  2189.  
  2190. 3.05    Commands Used While Plot Screen is Displayed
  2191. ────────────────────────────────────────────────────────────────────────
  2192.  
  2193.          Only "active equations" are plotted versus an x-axis which is    L 1770
  2194.          one of the independent variables which is designated as a
  2195.          coordinate variable.  Active equations have dependent vars
  2196.          followed by a visible "=".  If more than one equation, one must
  2197.          activate/inactivate equations, as desired, with commands "A"
  2198.          and "I".  If more than one independent var, one must designate
  2199.          x-axis coordinate with command "O" or place the cursor on the
  2200.          desired independent var before typing "P".  A coordinate var
  2201.          has a ":" following its name.  To plot, in the equations
  2202.          display type "P".  Enter coordinate range (like from 10 to 20)
  2203.          for x-axis in form:  10 to 20 (enter) or 10;20 (enter).          L 1780
  2204.  
  2205.          While in the plot screen, the following letter commands are
  2206.          active.
  2207.  
  2208. -> display cursor:  C
  2209.  
  2210.         C - Use cursor.  X and Y values of cursor are displayed.
  2211.             While ">" is displayed, the following keys are used to
  2212.             move it around:
  2213.                                                                           L 1790
  2214.          (Home) - Move cursor to top left corner
  2215.  
  2216.          (Up Arrow) - Move cursor one small division up
  2217.  
  2218.  
  2219.  
  2220.     --------------- 3.05 -- Commands Used While Plot Screen is Displayed ---
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   40 --
  2227.  
  2228.  
  2229.          (PgUp) - Move cursor to top right corner
  2230.  
  2231.          (Left Arrow) - Move cursor one small division to left
  2232.  
  2233.          (Right Arrow) - Move cursor one small division to right
  2234.                                                                           L 1800
  2235.          (End) - Move cursor to lower left corner (origin)
  2236.  
  2237.          (Down arrow) - Move cursor one small division down
  2238.  
  2239.          (PgDn) - Move cursor to lower right corner.
  2240.  
  2241.          1 to 9 - Change the increment of cursor movement when the
  2242.          arrows are used and move the cursor to the right by that
  2243.          amount.  At entry, default is 1.
  2244.                                                                           L 1810
  2245.          ; - designate first and last values for range to be plotted.
  2246.          After ; is typed the second time, the program will prompt with
  2247.          the chosen range.  Modify if needed and type (enter) to plot.
  2248.  
  2249.          (ctrl Q) or most other keys - Exit back to plot.
  2250.  
  2251. -> dump plot screen as text file:  V
  2252.  
  2253.          V - Dumps the plot to a text file.  Used to save calculations
  2254.          or plots for inclusion in reports, etc.  Includes program name,  L 1820
  2255.          date/time, equations, comment.  Enter filename in response to
  2256.          prompt.  Note:  Filenames ending in numeric extensions from
  2257.          "000" to "999" are automatically incremented each time the
  2258.          command is used.  Thus, PLOT.001 --> PLOT.002 --> PLOT.003 and
  2259.          so on.  If file exists, program will ask to "APPEND" or to
  2260.          "REPLACE".
  2261.  
  2262. -> exit back to equations display:  E   (esc)
  2263.  
  2264.          Use "E" or "(esc) to exit back to equations display.             L 1830
  2265.  
  2266.  
  2267. -> plot range for x-axis: Use semicolon.
  2268.  
  2269.          ; - Set new range for X-axis.  Enter a new range in the form
  2270.          num1 to num2 or num1;num2.  For example -45 to 123 or -45;123.
  2271.          If a single number is entered then only the first or last limit
  2272.          is replaced.  For example, -30 (enter) or -30 to (enter) or
  2273.          -30; (enter) will only cause -45 to be replaced in -45;123 and
  2274.          to 106 (enter) or ;106 (enter) will cause only 123 to be         L 1840
  2275.  
  2276.  
  2277.     --------------- 3.05 -- Commands Used While Plot Screen is Displayed ---
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   41 --
  2284.  
  2285.  
  2286.          replaced.
  2287.  
  2288. -> shift plot left
  2289.  
  2290.          L - Shift plot to left along X-axis by 1 major scale division
  2291.  
  2292. -> shift plot right
  2293.  
  2294.          R - Shift plot to right along X-axis by 1 major scale division
  2295.                                                                           L 1850
  2296. -> zoom in
  2297.  
  2298.          N - Move nearer to plot.  Show less of X-axis.
  2299.  
  2300. -> zoom out
  2301.  
  2302.          F - Move far away from plot.  Show more of the X-axis.
  2303.  
  2304. ╒════════════════════╕
  2305. │ ASTROFIT  COMMANDS └──────────────────────────────────────────────────  L 1860
  2306.  
  2307. 4.01    Commands Unique to this Program AFIT3.EXE.
  2308. ────────────────────────────────────────────────────────────────────────
  2309.  
  2310. -> Enter data points into the program prior to fit: D
  2311.  
  2312.          D - Use command D to enter new data or modify data.  See below
  2313.          for subcommands while in the data entry mode.  Data are entered
  2314.          as data points such as (X,Y) with the data coordinates being
  2315.          (X) and the data values being (Y).  There may be more than one   L 1870
  2316.          data coordinate.  During the "fit", the values of each data
  2317.          point are substituted into the active equation's coordinate
  2318.          variable(s) and the calculated equation value is subtracted
  2319.          from the corresponding data value to generate the least squares
  2320.          error.  Polynomial regression is performed in the data-entry
  2321.          screen with subcommand P.
  2322.  
  2323. -> Load a data point into active equation and calculate error: !D
  2324.  
  2325.          Command !D substitutes a specified data point (including         L 1880
  2326.          coordinate(s) and data value) into coordinate variable(s) of
  2327.          displayed equations and calculates equation(s) and error.
  2328.          Enter data point #.
  2329.  
  2330. -> Load all data points into active equation and calculate error: @D
  2331.  
  2332.  
  2333.  
  2334.     ----------------- 4.01 -- Commands Unique to this Program AFIT3.EXE. ---
  2335.  
  2336.  
  2337.  
  2338.  
  2339.  
  2340.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   42 --
  2341.  
  2342.  
  2343.          Command @D substitute all data points into corresponding
  2344.          coordinate variable(s) of displayed equations and calculates
  2345.          equation(s) and total error.  Total error is square root of sum
  2346.          of individual errors squared.                                    L 1890
  2347.  
  2348. -> List the results of the fit including actual and calc values: R
  2349.  
  2350.          Command R is used to list the results which include:  Data #,
  2351.          Data Coordinate, Calculated Value, Error and Symbolic Error.
  2352.          Calculations are always based on the current values of the
  2353.          independent variables and the data.  Enter the range of the
  2354.          data points to be listed in the form number1 to number2 or
  2355.          number1;number2.  For example, 1 to 6 or 1;6.  When more than
  2356.          one coordinate, the Program will list that coordinate on which   L 1900
  2357.          cursor resides when "R" is typed.  If more than one coordinate
  2358.          per data point, use "cursor right" or "cursor left" keys to
  2359.          toggle coordinate(s) while tabulated results are displayed on
  2360.          screen.
  2361.  
  2362. -> List the results of the fit to system printer LPT1: !R
  2363.  
  2364.          Command !R lists the results to the printer (LPT1:).  While
  2365.          printing, type any key to terminate.  Use "!P" to set the
  2366.          printer to nlq mode, if necessary.                               L 1910
  2367.  
  2368. -> List the results of the fit to a file: @R
  2369.  
  2370.          Command @R lists the results to a file for subsequent use such
  2371.          as inclusion in a report and so on.  Enter filename in response
  2372.          to prompt and then enter range (first to last points).  For
  2373.          example:  FIT1.TXT (enter) and 1 to 10 (enter).  Program will
  2374.          automatically increment number extensions.  RESULTS.001 ==>
  2375.          RESULTS.002 ==> RESULTS.003 and so on.
  2376.                                                                           L 1920
  2377. -> Fit equation to Data points by optimizing active independent
  2378.          variables:   S
  2379.  
  2380.          Command S starts the nonlinear least-squares regression by
  2381.          solving for the "best" values of the active independent
  2382.          variables which minimized the total squared error between the
  2383.          equation calculated with the data coordinates substituted into
  2384.          the coordinate variables and the data value of each data point.
  2385.          The accelerated-interpolation method of Cote and Herbold is
  2386.          used.  Before typing "S", designate active equation, active ind  L 1930
  2387.          vars which are to be optimized, data coordinate(s).  Enter data
  2388.          points as (data coordinate(s), data values) and then initial
  2389.  
  2390.  
  2391.     ----------------- 4.01 -- Commands Unique to this Program AFIT3.EXE. ---
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   43 --
  2398.  
  2399.  
  2400.          guesses for active variables.  Choose a tolerance based on the
  2401.          assumed relative accuracies of the initial guesses.  Typically,
  2402.          from .001 to 1 (default=.1).
  2403.  
  2404. -> Generate correlation and fit coefficients: T
  2405.  
  2406.          Command T "tests" the fit and allows some estimate of the
  2407.          "goodness" of the optimized variables.  A correlation            L 1940
  2408.          coefficient and a fit coefficient are calculated.  For a
  2409.          perfect fit both coefficients equal 1.
  2410.  
  2411. -> Generate residual variance and coefficient of determination: !T
  2412.  
  2413.          Command !T calculates additional statistical data to verify
  2414.          the "goodness" of the fit.  The residual variance and
  2415.          coefficient of determination are calculated.  For a perfect fit
  2416.          RESID VAR=0 and C of D=1.
  2417.                                                                           L 1950
  2418.  
  2419. ╒═════════════════════╕
  2420. │ DATA ENTRY COMMANDS └─────────────────────────────────────────────────
  2421.  
  2422. 4.02    Commands Used to Manipulated Data Points and Their Values.
  2423. ────────────────────────────────────────────────────────────────────────
  2424.  
  2425.         Single key subcommands which can be executed while the
  2426.         data-entry screen is displayed (command "D") are:
  2427.                                                                           L 1960
  2428.         B - Move backwards to the previous data point
  2429.             Use (backspace) for the same purpose.
  2430.  
  2431.         C - Calculate equation at coord(s) of data point.
  2432.             List calculated result and error separately.
  2433.             Use !C to calculate and replace data value.
  2434.             Use @C to calculate and replace data values at all points.
  2435.             Use $C to apply immediate calc to data coord/value of
  2436.             all data points.  For all calculations, the active dependent
  2437.             variable and coordinate variable(s) refer to values of each   L 1970
  2438.             data point.  Order of calculation: Substitute data point #1
  2439.             into displayed equations, calculate displayed equation(s),
  2440.             set active dependent variable to data value and perform
  2441.             immediate calculation.  Repeat with next point and so on.
  2442.             Note: !C, @C and $C replace data values!  Be careful!
  2443.  
  2444.         E - Exit to the display of the equations
  2445.  
  2446.  
  2447.  
  2448.     -- 4.02 -- Commands Used to Manipulated Data Points and Their Val... ---
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   44 --
  2455.  
  2456.  
  2457.         F - Move to the first data point (#1)
  2458.                                                                           L 1980
  2459.         I - Insert a zero data point before the current data value.
  2460.             The total data points are increased by 1.
  2461.  
  2462.         J - Jump to a specific data point.  Program prompts for
  2463.             the data #.
  2464.  
  2465.         L - Move to the last data point
  2466.  
  2467.         M - Move to the middle of the data points
  2468.                                                                           L 1990
  2469.         N - Move to the next data point
  2470.  
  2471.         P - Automatic least-squares polynomial fit.  Must be 2 or more
  2472.             data points.  Enter order (maximum magnitude (N) of 15 or
  2473.             (# points-1)).  Pos order, poly A0+A1*X^1+...AN*X^N  and
  2474.             neg order, poly A0+A1*X^-1+...AN*X^-N.  Replace equations
  2475.             with polynomial by answering Y to prompt.  Immediate calc
  2476.             always replaced by poly with number coefficients.
  2477.  
  2478.         R - Remove the current data point.                                L 2000
  2479.             The total data points are decreased by 1.
  2480.  
  2481.         # - Enter total number of data points. Max points is
  2482.             1024/(# coord+1).  Jump to last point.
  2483.             Use @# to set number of points to zero and exit.
  2484.  
  2485.         ? - Set data point (coord and value) to zero.
  2486.             Use !? to set data values of all data points to zero.
  2487.             Use @? to set all data coordinates and values to 0.0.
  2488.             Note: !? and @? set data values to 0.0!  Be careful!          L 2010
  2489.  
  2490.         \ - Display the full 16 digit precision and position
  2491.             the cursor for editing the number.  See below.
  2492.  
  2493.         | - Display the last immediate calculation and position
  2494.             the cursor after an imbedded apostrophe (').  See below.
  2495.             The active dependent variable and coordinate variable(s)
  2496.             refer to values of the current data point.  Calculation
  2497.             order: Load data point into displayed equations, calculate
  2498.             displayed equation(s), set active dependent variable to data  L 2020
  2499.             value and perform immediate calculation.
  2500.  
  2501.         (backspace) - Move backwards to preceding data point.
  2502.  
  2503.  
  2504.  
  2505.     -- 4.02 -- Commands Used to Manipulated Data Points and Their Val... ---
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   45 --
  2512.  
  2513.  
  2514.         (enter) - Move to the next coordinate, data value or data point
  2515.  
  2516.         (esc) - Redraw the display and/or exit if on the first data
  2517.                 point when typed.
  2518.  
  2519.         (ctrl) Q - Exit to the display of equations. Same as "E".         L 2030
  2520.  
  2521.         (tab right) (tab left) - Move to next or previous data point.
  2522.  
  2523.         Current value - Use ":" to designate the current value of the
  2524.                         coor or data value in calculations.
  2525.                         For example: 4*:+:^2 or sqr(abs(:))  (enter)
  2526.  
  2527.         Edit keys - Use keys: (Home) (up arrow) (PgUp) (left arrow)
  2528.                     (right arrow) (End) (down arrow) (PgDn) to change
  2529.                     cursor and/or point.  Note: Keys (up arrow)           L 2040
  2530.                     (down arrow) (PgUp) and (PgDn) move cursor
  2531.                     in the same data point only.  Keys: (left arrow)
  2532.                     (right arrow) (Home) and (End) move cursor
  2533.                     from data point to data point.
  2534.  
  2535. ╒════════════════════════════╕
  2536. │ INTRODUCTION: FIT EQUATIONS└──────────────────────────────────────────
  2537.  
  2538. 4.04  Introduction to Fitting Equations to Data by Nonlinear
  2539.             Least-Squares Regression.                                     L 2050
  2540. ────────────────────────────────────────────────────────────────────────
  2541.  
  2542.          The nonlinear fit (regression) is command "S".  Data must be
  2543.          entered into the program first.  The following example is
  2544.          intended to illustrate the general procedures only.  A
  2545.          second-order polynomial equation will be fitted to four data
  2546.          points.  In order to use the subcommand "S", one must first
  2547.          enter an equation into the Program with at least 2 independent
  2548.          variables.  Any equation will do.  Note:  the polynomial
  2549.          regression subcommand P can be used to solve this problem        L 2060
  2550.          quickly, but for now, the more general nonlinear regression (or
  2551.          fit) will be used.
  2552.  
  2553.          Note:  You will frequently start to see apostrophe commands
  2554.          like 'EQU, 'VAR and 'COM appearing in the helpfile.  The 'EQU
  2555.          field provides info for the equations display which is loaded
  2556.          when the highlight bar lights up on the 'EQU line and the "Type
  2557.          Q...." message appears at the bottom of the screen.  To learn
  2558.          more about these commands, read the discussion of apostrophe
  2559.          commands in this helpfile.                                       L 2070
  2560.  
  2561.  
  2562.     ----- 4.04 -- Introduction to Fitting Equations to Data by Nonlinear ---
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   46 --
  2569.  
  2570.  
  2571.  
  2572.        ║ To automatically load these equations, type Q when the ║
  2573.        ║ highlight bar appears on the screen.  Scroll down, if  ║
  2574.        ║ necessary, to light it.                                ║
  2575. 'EQU
  2576. Y=A*(X-B)^2+C
  2577. 'COO X
  2578. 'COM "Type (F1) to return to the helpfile"
  2579.  
  2580.                                                                           L 2080
  2581.          If the equation is loaded, then skip to step (5).
  2582.  
  2583.          1) When the Program is displaying the equations screen, type
  2584.          (F6) or "!/" in order to get the "Equations" prompt.  In
  2585.          response to the prompt "?  Equation(s)", type:  (end esc)
  2586.          Y=A*(X-B)^2+C) (enter)
  2587.  
  2588.          2) In response to the prompt for a comment Type (end esc) ""
  2589.          (enter).  Remember to type (F1) to return to this file.
  2590.                                                                           L 2090
  2591.          3) If more than one equation were to be entered, inactivate all
  2592.          other equations except the the single equation whose active
  2593.          variables are to be optimized.  To inactivate an equation
  2594.          and/or variable move the cursor to that variable and type I.
  2595.          The equal sign will disappear.  The fit does not use inactive
  2596.          equations but these equations can still be used as intermediate
  2597.          equations in the calculation of the active equations.
  2598.  
  2599.          4) Next move the blinking cursor to variable X by typing "L".
  2600.          Designate X as a coordinate by typing "O".  A colon ":" will     L 2100
  2601.          appear after its name.
  2602.  
  2603.          5) Enter the 4 (X,Y) data points.
  2604.  
  2605.         ║To load the comment and jump to the equations display, type Q ║
  2606.         ║when the highlight bar is lighted on the next line.           ║
  2607. 'EQU
  2608. 'PT0
  2609. 'DATA (0,40) (3,310) (6,400) (9,310)
  2610. 'COM                                                                      L 2110
  2611.  Enter the four data points as (X,Y) pairs:  (0,40), (3,310), (6,400)
  2612.  and (9,310).  To verify the points or enter them one by one , Type D.
  2613.  For X(1), type 0 (enter).  For Y(1), type 40 (enter).  Now enter X(2)
  2614.  then Y(2) and so on.  After entering Y(4) as 310, the program will
  2615.  advance to point #5.  Type R to remove this unwanted point.  Type E to
  2616.  exit data command and return to the equation display.  Type (F1) to
  2617.  
  2618.  
  2619.     ----- 4.04 -- Introduction to Fitting Equations to Data by Nonlinear ---
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   47 --
  2626.  
  2627.  
  2628.  return to the helpfile.
  2629.  
  2630.         ║To load the comment and jump to the equations display, type Q ║
  2631.         ║when the highlight bar is lighted on the next line.           ║  L 2120
  2632. 'EQU
  2633. 'VAR A=-5 B=10 C=200
  2634. 'COM
  2635.  Set up some reasonable initial guesses.  If necessary, move the cursor
  2636.  to A and set its value to -5.  Move the cursor to B and set its value
  2637.  to 10 and move the cursor to C and set its value to 200.  To perform a
  2638.  nonlinear fit, type S.  In response to the prompt for a tolerance,
  2639.  type .1 (enter). After about 100 iterations, the program will
  2640.  calculate A as 10 and B as 6 and C as 400.  Type any key to stop
  2641.  iterations after # 100 or so.  Note the magnitudes of the ERROR and SIG  L 2130
  2642.  FIGS.  As the 'fit' or regression improves, the ERROR will tend toward
  2643.  a minimum and SIG FIGS will grow toward 16.  Type (F1) to return to the
  2644.  helpfile.
  2645.  
  2646.          Some additional information on the fit.
  2647.  
  2648.          A math error during the calculation will not terminate the fit
  2649.          but the results may be misleading because the program skips
  2650.          over operations that are improper, undefined or not allowed.
  2651.          Care should be taken to verify that errors do not occur as       L 2140
  2652.          convergence is approached.
  2653.  
  2654.          Data points can be defined with more than one coordinate.  For
  2655.          example (X:W,Y) where X and W are data coordinates and Y is the
  2656.          data value.
  2657.  
  2658.          Use commands "T" and "!T" to calculate coefficients and
  2659.          variances.  The point-by-point results of the fit can be
  2660.          tabulated on the screen by use of the command "R" or listed on
  2661.          the printer (LPT1:) by use of "!R".  The tabulated results can   L 2150
  2662.          be saved in a file by use of the command "@R".  The equations
  2663.          and data can be plotted with the command "P" and the entire
  2664.          calculation and data are saved with the command (F9) or "]".
  2665.  
  2666.          Summary of steps to fit equation to data:
  2667.  
  2668.          1) Enter the equation(s) and message.  If more than one
  2669.          equation, use "I" to inactivate all but the primary equation.
  2670.          There can be more than one equation on the screen, but only one
  2671.          equation can be fitted.                                          L 2160
  2672.  
  2673.          2) Designate one or more independent variables as data
  2674.  
  2675.  
  2676.     ----- 4.04 -- Introduction to Fitting Equations to Data by Nonlinear ---
  2677.  
  2678.  
  2679.  
  2680.  
  2681.  
  2682.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   48 --
  2683.  
  2684.  
  2685.          coordinates by using "O".
  2686.  
  2687.          3) Enter data values.  Type "D".  To exit, first type "R" to
  2688.          remove the last point if necessary and then type "E".
  2689.  
  2690.          4) Select independent variables to be optimized by "A" and
  2691.          inactivate all others which are to be considered as parameters
  2692.          by "I".  Not all independent variables have to be optimized.     L 2170
  2693.  
  2694.          5) Set active independent variable to reasonable initial
  2695.          guesses.
  2696.  
  2697.          6) Type "S" to start the fit.  Enter tolerance.  The larger the
  2698.          tolerance, the wider the initial search. Typically, the
  2699.          tolerance should be between 0.1 and 1.
  2700.  
  2701.          7) After ERROR or SIG FIGS is reached, type any key to stop
  2702.          fit.                                                             L 2180
  2703.  
  2704.          8) To plot the fit, type "P" and answer "Y" to the "include
  2705.          data on plot prompt"
  2706.  
  2707.          9) Type "T" or "!T" to check correlation coefficients.
  2708.  
  2709.          10) Type "R" or "!R" or "@R" to tabulate results.
  2710.  
  2711. ╒═══════════════════════════════╕
  2712. │ EXAMPLE: FIT EQUATION TO DATA └───────────────────────────────────────  L 2190
  2713.  
  2714. 4.06   Finding Best Values of Transistor Parameters
  2715.             from Experimental Data by Nonlinear Least Squares.
  2716. ────────────────────────────────────────────────────────────────────────
  2717.  
  2718.          A very common problem in Engineering and Science is to estimate
  2719.          the best values of the coefficients of a mathematical model
  2720.          given a set of experimental data.  In the example discussed
  2721.          here, the area of application is Electrical Engineering and the
  2722.          current problem is to extract the best values of parameters      L 2200
  2723.          which characterize the behavior of a transistor.  By fitting
  2724.          the theoretical equation, discussed below, to the experimental
  2725.          data, one attempts to determine the DC current gain, BETA0, the
  2726.          critical frequency, FC, and the transition frequency, FT.
  2727.  
  2728.          In this example, the values of the DC current gain, BETA0, and
  2729.          the critical frequency, FC, for a transistor will be estimated
  2730.          by fitting the theoretical equation of BETA as a function of
  2731.  
  2732.  
  2733.     --------------- 4.06 -- Finding Best Values of Transistor Parameters ---
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   49 --
  2740.  
  2741.  
  2742.          frequency F to an experimental data set in which the current
  2743.          gain BETA is measured at 5 different frequencies.  The           L 2210
  2744.          transition frequency, FT, is derived from the DC current gain
  2745.          BETA0 and FC and is not directly extracted.
  2746.  
  2747.          The current gain, BETA, and transition frequency, FT, of a
  2748.          small signal rf transistor can be approximated as a function of
  2749.          the measurement frequency, F, by the equations:
  2750.  
  2751.               BETA=BETA0/SQR(1+F^2/FC^2)
  2752.  
  2753.               FT=BETA0*FC                                                 L 2220
  2754.  
  2755.          where:
  2756.  
  2757.          BETA = current gain at frequency F
  2758.  
  2759.          BETA0 = low frequency current gain, CE mode, zero AC
  2760.          potential between collector and emitter
  2761.  
  2762.          FC = transistor cut-off frequency.  Current gain drops to
  2763.          0.707 (-3dB) times the low frequency value                       L 2230
  2764.  
  2765.          FT = transistor unity-gain frequency
  2766.  
  2767.          The equipment used in these measurements operates to 10 MHz;
  2768.          therefore, it is usually not possible to measure the unity-gain
  2769.          frequency, FT, directly.  The data set has been generated by
  2770.          measuring the current gain, BETA, vs.  frequency, F, from 1 to
  2771.          10 MHz.  The experimentally measured data points are:
  2772.  
  2773.               F (MHz)         BETA                                        L 2240
  2774.  
  2775.                 1             105
  2776.                 2.5           90
  2777.                 5             80
  2778.                 7.5           60
  2779.                 10            50
  2780.  
  2781.          First enter the equations into the program.  Move the text down
  2782.          until the highlight bar appears on the EQU line below.
  2783.                                                                           L 2250
  2784.        ║ To automatically load these equations, type Q when the ║
  2785.        ║ highlight bar appears on the screen.  Scroll down, if  ║
  2786.        ║ necessary, to light it.                                ║
  2787. 'EQU
  2788.  
  2789.  
  2790.     --------------- 4.06 -- Finding Best Values of Transistor Parameters ---
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   50 --
  2797.  
  2798.  
  2799. BETA=BETA0/SQR(1+F^2/FC^2)
  2800. FT=BETA0*FC
  2801. 'INA FT
  2802. 'COO F
  2803. 'COM
  2804.  Calculate BETA0 (DC current gain) and FC (critical frequency) for a      L 2260
  2805.  transistor by fitting BETA vs.  F (MHz) to theoretical equation.
  2806.  Type (F1) to return to the helpfile.
  2807.  
  2808.          After the equations, a comment and data are entered into AFIT3,
  2809.          the equation display should appear similar to what is shown
  2810.          below:
  2811.  
  2812. ......................................................................
  2813. --- Comment -->  Calculate BETA0 (DC current gain) and FC (critical
  2814. frequency) for a transistor by fitting BETA vs. F (MHz) to theoretical    L 2270
  2815. equation. Type (F1) to return to the helpfile.
  2816.  
  2817.              BETA=BETA0/SQR(1+F^2/FC^2)                   BETA =  0
  2818.  
  2819.                      FT=BETA0*FC                            FT    0
  2820.  
  2821.  
  2822. 11:14:05         *** Accuracy ?  Warning # 8 ***          10-20-1980
  2823.  
  2824.                                                                           L 2280
  2825.    BETA0 => 0                    F :  0                   FC =  0
  2826. ......................................................................
  2827.  
  2828.          The "Comment", if any, is displayed at the top.  The equations
  2829.          BETA and FT, in the order in which they are entered, are
  2830.          displayed from top down.  The time and date are displayed in
  2831.          the middle along with the "Accuracy ?  Warning #8" Comment.
  2832.          This frequently-seen warning Comment is used to inform the user
  2833.          that the displayed values of the dependent variables BETA and
  2834.          FT may not be related to the values based on the equations and   L 2290
  2835.          the independent variables.  To actually calculate the dependent
  2836.          variables, one would enter a value for an independent variable
  2837.          or type C.  Finally the 3 independent variables BETA0, F an FC
  2838.          are listed at the bottom in alphabetical order.  The blinking
  2839.          cursor ">" is positioned on BETA0.
  2840.  
  2841.          Data points consist of two numbers:  a data coordinate and a
  2842.          data value.  In the present problem, data are to be entered in
  2843.          (F,BETA) pairs.  If necessary, to designate F as the variable
  2844.          associated with the data coordinate, move the cursor to F and    L 2300
  2845.  
  2846.  
  2847.     --------------- 4.06 -- Finding Best Values of Transistor Parameters ---
  2848.  
  2849.  
  2850.  
  2851.  
  2852.  
  2853.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   51 --
  2854.  
  2855.  
  2856.          type O.  The equal sign "=" will be replaced by a colon ":".  A
  2857.          colon is used to signify that variable F is now a data
  2858.          coordinate.  Only one of the two equations, BETA, is to be
  2859.          associated with the data value.  The other equation must be
  2860.          made "invisible" or inactive.  If necessary, move the cursor to
  2861.          FT and type I.  The equal sign after FT will disappear.  At
  2862.          this time, data points are defined as (F,BETA) pairs.
  2863.  
  2864.          Next data are entered in (F,BETA) pairs, type D.  The screen
  2865.          will appear as shown below and enter the data.                   L 2310
  2866.  
  2867.        ║ To automatically load these equations, type Q when the ║
  2868.        ║ highlight bar appears on the screen.  Scroll down, if  ║
  2869.        ║ necessary, to light it.                                ║
  2870. 'EQU
  2871. 'PT0
  2872. 'DATA
  2873.   1    105
  2874.   2.5  90
  2875.   5    80                                                                 L 2320
  2876.   7.5  60
  2877.   10   50
  2878. 'COM
  2879.  If desired, enter the five data points as (F,BETA) pairs:  (1,105),
  2880.  (2.5,90), (0.5,80), (7.5,60) and (10,50).  To verify the points or
  2881.  enter them one by one , Type D.  For F(1), type 1 (enter).  For
  2882.  BETA(1), type 105 (enter).  Now enter F(2) then BETA(2) and so on.
  2883.  After entering BETA(5) or 50, the Program will advance to point #6.
  2884.  Type R to remove this unwanted point.  Type E to exit data command and
  2885.  return to the equation display.  Type (F1) to return to the helpfile.    L 2330
  2886.  
  2887.          Finally initial "guesses" for the two active independent
  2888.          variables BETA0 and FC are set and the problem is solved.
  2889.          The Program will optimize the values of the active independent
  2890.          variables BETA0 and FC, whose names are followed by the "=", in
  2891.          order to attempt to minimize the sum of squared errors between
  2892.          the calculated value of the single active dependent variable
  2893.          (with the data coordinates of each data point substituted into
  2894.          the coordinate variable) and the data value of each data point.
  2895.          In this example, each of the five data coordinates will be       L 2340
  2896.          substituted into F, BETA will be calculated and then the
  2897.          squared differences between BETA and the data value of each of
  2898.          the five points will be summed and minimized.
  2899.  
  2900.        ║ To automatically load these equations, type Q when the ║
  2901.        ║ highlight bar appears on the screen.  Scroll down, if  ║
  2902.        ║ necessary, to light it.                                ║
  2903.  
  2904.     --------------- 4.06 -- Finding Best Values of Transistor Parameters ---
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   52 --
  2911.  
  2912.  
  2913. 'EQU
  2914. 'VAR BETA0=1   FC=1
  2915. 'COM                                                                      L 2350
  2916.  If necessary, set the initial values of BETA0=1 and FC=1.  Type S to
  2917.  start the fit.  Use the default tolerance of 0.1.  Just type (enter).
  2918.  The program will optimized BETA0 and FC to minimize the ERROR and the
  2919.  iteration counter will 'roll off' as the fit proceeds.  Note that the
  2920.  value of the coordinate variable F stays constant.  After about 64
  2921.  iterations, the fit will converge as the estimated significant figures
  2922.  approaches 16.  In this case SIG FIGS reaches 14.  Type any key to stop
  2923.  the fit.  Type (F1) to return to the helpfile.
  2924.  
  2925.          As the fit advances and the number of iterations increases,      L 2360
  2926.          the ERROR will tend to minimize but it will not approach 0.0
  2927.          unless the fit is "perfect".  The screen should appear similar
  2928.          to what is shown below, although the comment will be different.
  2929.  
  2930. ......................................................................
  2931. --- Comment -->  Calculate BETA0 (DC current gain) and FC (critical
  2932. frequency) for a transistor by fitting BETA vs. F (MHz) to theoretical
  2933. equation.
  2934.  
  2935.              BETA=BETA0/SQR(1+F^2/FC^2)               BETA =  104.1315    L 2370
  2936.  
  2937.                      FT=BETA0*FC                        FT    568.0856
  2938.  
  2939.  
  2940. 11:24:15  Iteration # 64   ERROR = 6.3589147  SIG FIGS = 14 10-20-1980
  2941.  
  2942.  
  2943.    BETA0 =  104.1315             F :  0                 FC =  5.455464
  2944. ......................................................................
  2945.                                                                           L 2380
  2946.          Obtaining a summary of results.  Following optimization, one
  2947.          may want to list a summary of the results.  Type command R from
  2948.          the equation display. The screen should appear as below.
  2949.  
  2950. ..................................................................
  2951.  
  2952.  #      F    BETA    Calculated     % Error      Relative % Error
  2953.  
  2954.  1    1      105      102.425      -2.452405          -----
  2955.                                                                           L 2390
  2956.  2    2.5    90       94.66504      5.183378              +++++++++
  2957.  
  2958.  
  2959.  
  2960.     --------------- 4.06 -- Finding Best Values of Transistor Parameters ---
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   53 --
  2967.  
  2968.  
  2969.  3    5      80       76.76686     -4.041424        -------
  2970.  
  2971.  4    7.5    60       61.25394      2.089902              ++++
  2972.  
  2973.  5    10     50       49.87006     -.2598841              0
  2974.  
  2975.  #      F    BETA    Calculated     % Error      Relative % Error
  2976.                                                                           L 2400
  2977. ...................................................................
  2978.  
  2979.          The "results" screen list the data point number (#), the value
  2980.          of the data coordinate (F), the value of the data value (BETA),
  2981.          the calculated value of BETA based on the equation and the
  2982.          optimized values of BETA0 and FC, the % ERROR which is the
  2983.          actual value of BETA less its calculated value expressed as a
  2984.          percent of the actual value.  Finally the SYMBOLIC ERROR is
  2985.          tabulated.  It is a visual representation of the uncertainty in
  2986.          the fit.  For each point, the actual value of BETA can be        L 2410
  2987.          thought of as being in the middle under the C of SYMBOLIC and
  2988.          would correspond to a 0 if the fit were more-or-less perfect.
  2989.          "+" mean the fitted curve exceeds the data value at this point
  2990.          and the number of "+" is a relative measure of how much.  "-"
  2991.          means the fitted curve underestimates the data value at this
  2992.          point and the number of "-" is a relative measure of how much.
  2993.          Note, the number of decimal places for the table entries is
  2994.          determined by the current setting as determined by the 'DEC
  2995.          apostrophe command.
  2996.                                                                           L 2420
  2997.          Plotting the fitted equation and experimental data.  The
  2998.          equation and data can be plotted to verify the "fit" visually.
  2999.          Type command P from the equation display..  Type (enter) in
  3000.          response to the prompt not to include data on plot.  The screen
  3001.          should appear similar to below:
  3002.  
  3003. .......................................................................
  3004.  
  3005. 105.-█
  3006.     |a a                                                                  L 2430
  3007.     |      a
  3008.     |         a
  3009.     |             a
  3010.  91.-            █  a
  3011.     |                   a
  3012.     |                     a
  3013.     |                         a
  3014.     |                           a   █
  3015.  77.-                               a
  3016.     |                                 a                                   L 2440
  3017.     |                                     a
  3018.     |                                        a
  3019.     |                                           a
  3020.  63.-                                               a
  3021.     |                                                  █a
  3022.     |                                                       a
  3023.     |                                                           a  a
  3024.     |                                                                a
  3025.  49.-
  3026.     ||--------------|--------------|--------------|--------------|-----   L 2450
  3027.      1             2.96           4.91           6.87           8.83
  3028.                                 BETA[a]  vs. F
  3029.  
  3030.     --------------- 4.06 -- Finding Best Values of Transistor Parameters ---
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   54 --
  3037.  
  3038. .......................................................................
  3039.  
  3040.          The first equation BETA is represented by "a".  The 5 data
  3041.          points as (F,BETA) points are plotted as "█".
  3042.  
  3043. ╒═══════════════════════════════╕
  3044. │ EXAMPLE: FIT EQUATION TO DATA └───────────────────────────────────────
  3045.                                                                           L 2460
  3046. 4.08   Automatic Least-squares Polynomial Regression
  3047.             (Linear Least Squares)
  3048. ────────────────────────────────────────────────────────────────────────
  3049.  
  3050.          The polynomial fit is subcommand "P" of the data entry
  3051.          subcommand "D".  Data must be entered into the Program first.
  3052.          The use of the polynomial fit (regression) will be illustrated
  3053.          with an example.  Polynomials of orders 1 and 3 will be fitted
  3054.          to four data points.  In order to use the subcommand "P", one
  3055.          must first enter an equation into the Program with at least 2    L 2470
  3056.          independent variables.  Any equation will do.
  3057.  
  3058.        ║ To automatically load these equations, type Q when the ║
  3059.        ║ highlight bar appears on the screen.  Scroll down, if  ║
  3060.        ║ necessary, to light it.                                ║
  3061. 'EQU
  3062. Y=A*X
  3063. 'COO X
  3064. 'COM "Type (F1) to return to the helpfile"
  3065.                                                                           L 2480
  3066.          If the equation is loaded, then skip to step (4).
  3067.  
  3068.          1) When the Program is displaying the equations screen, type
  3069.          (F6) or "!/" in order to get the "Equations" prompt.  In
  3070.  
  3071.  
  3072.     -------------- 4.08 -- Automatic Least-squares Polynomial Regression ---
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   55 --
  3079.  
  3080.  
  3081.          response to the prompt "?  Equation(s)", type:  (end esc)
  3082.          Y=A*X (enter)
  3083.  
  3084.          2) In response to the prompt for a comment Type (end esc) ""
  3085.          (enter).  Remember to type (F1) to return to this file.
  3086.                                                                           L 2490
  3087.          3) Next move the blinking cursor to variable X by typing "L".
  3088.          Designate X as a coordinate by typing "O".  A colon ":" will
  3089.          appear after its name.
  3090.  
  3091.          4) Enter the 4 (X,Y) data points.
  3092.  
  3093.         ║To load the comment and jump to the equations display, type Q ║
  3094.         ║when the highlight bar is lighted on the next line.           ║
  3095. 'EQU
  3096. 'PT0                                                                      L 2500
  3097. 'DATA (1,-3) (2,-57) (3,-219) (4,-549)
  3098. 'COM
  3099.  If necessary, enter the four data points as (X,Y) pairs:  (1,-3),
  3100.  (2,-57), (3,-219) and (4,-549).  Type D.  For X(1), type 1 (enter).
  3101.  For Y(1), type -3 (enter).  Now enter X(2) then Y(2) and so on.  After
  3102.  entering Y(4) as -549, the program will advance to point #5.  Type R to
  3103.  remove this unwanted point.  Type E to exit data command and return to
  3104.  the equation display.  Type (F1) to return to the helpfile.
  3105.  
  3106.                                                                           L 2510
  3107.         ║To load the comment and jump to the equations display, type Q ║
  3108.         ║when the highlight bar is lighted on the next line.           ║
  3109. 'EQU
  3110. 'COM
  3111.  The polynomial regression is part of the data entry command.  Type
  3112.  command D first.  To perform a first order fit, type P.  In response to
  3113.  the prompt for an order, type (end esc) 1 (enter).  A positive order
  3114.  selects a polynomial of the general form Y=A0+A1*X^1+...AN*X^N and a
  3115.  negative order, a polynomial of the general form
  3116.  Y=A0+A1*X^-1+...AN*X^-N.  Type N (enter) in response to the prompt to    L 2520
  3117.  'REPLACE EQUATIONS'.  Type E to exit data command and return to the
  3118.  equation display.  Type (F1) to return to the helpfile.
  3119.  
  3120.          The Program will calculate A0 as 243 and A1 as -180.  The
  3121.          Program will display the polynomial equation and a message
  3122.          which summarizes the first-order fit.  Note the magnitudes of
  3123.          the residual variance and the coefficient of determination.  As
  3124.          the order increases, the fit will improve and the residual
  3125.          variance will decrease toward 0.0 and the coefficient of
  3126.          determination will increase to 1.0.                              L 2530
  3127.  
  3128.  
  3129.     -------------- 4.08 -- Automatic Least-squares Polynomial Regression ---
  3130.  
  3131.  
  3132.  
  3133.  
  3134.  
  3135.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   56 --
  3136.  
  3137.  
  3138.  
  3139.         ║To load the comment and jump to the equations display, type Q ║
  3140.         ║when the highlight bar is lighted on the next line.           ║
  3141. 'EQU
  3142. 'COM
  3143.  The polynomial regression is part of the data entry command.  Type
  3144.  command D first.  To perform a third order fit, type P.  In response to
  3145.  the prompt for an order, type (end esc) 3 (enter).  The Program will
  3146.  now calculate A0 as 3, A1 as -2, A2 as 6 and A3 as -10.  Notice that
  3147.  the fit is 'perfect'.  The residual variance is 0.0 and the coefficient  L 2540
  3148.  of determination is 1.0.  Type Y (enter) in response to the prompt to
  3149.  'REPLACE EQUATIONS'.  Type E to exit data command and return to the
  3150.  equation display.  Type (F1) to return to the helpfile.
  3151.  
  3152.          The Program will replace the main equation(s) with the
  3153.          polynomial Y=A0+A1*X^1+A2*X^2.  If the comment is empty, it
  3154.          will replace it with fit information.  The coefficients A0 to
  3155.          A2 are set equal to their least-squares values and variable X
  3156.          is designated as the coordinate.  The immediate calc is
  3157.          replaced by the polynomial with explicit number coefficients.    L 2550
  3158.          Should this form of the equation be needed it can be viewed
  3159.          with the immediate calc command "|".
  3160.  
  3161.          An error during the calculation will terminate the fit and
  3162.          return the Program to the equations display.  Warning # 451
  3163.          will be generated.  The most likely cause of errors are
  3164.          overflows from either coordinate values with large magnitudes
  3165.          or higher order terms.
  3166.  
  3167. Some important points are:                                                L 2560
  3168.  
  3169.          1) There must be 2 or more data points.  If only two points,
  3170.          then the order is 1 by default and need not be specified.
  3171.  
  3172.          2) The maximum order is one less than the number of points or
  3173.          15, whichever is smaller.  Thus if there are 10 data points,
  3174.          then a polynomial of order from 1 to 9 can be chosen.
  3175.  
  3176.          3) Polynomial coefficients are completely determined if the
  3177.          order of the polynomial is one less than the number of points.   L 2570
  3178.          Thus if there are 4 points, then a third order fit will be
  3179.          "perfect".  As the number of points becomes much large than the
  3180.          order, the polynomial represents a "smoothed" approximation.
  3181.  
  3182.          4) The Program calculates the residual variance RESID VAR and
  3183.          the coefficient of determination COEFF OF DETERM for each fit.
  3184.  
  3185.  
  3186.     -------------- 4.08 -- Automatic Least-squares Polynomial Regression ---
  3187.  
  3188.  
  3189.  
  3190.  
  3191.  
  3192.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   57 --
  3193.  
  3194.  
  3195.  
  3196.          5) The polynomial equation can be used to replace the current
  3197.          equation(s).  This is useful for further analysis including the
  3198.          tabulation of results (command "R" in equation display), the     L 2580
  3199.          plotting of the equation and data (command "P" in equation
  3200.          display) and the saving of the equation and data (subcommand
  3201.          "]" in equation display).
  3202.  
  3203.          6) The immediate calculation (command "|") is always
  3204.          replaced by the polynomial with number coefficients and without
  3205.          a dependent variable.  The polynomial can be added to the main
  3206.          equations by exiting to the equation display, typing "/",
  3207.          moving the cursor to the end of the equations and typing "(alt)
  3208.          1" .  Remember to insert a dependent variable with a unique      L 2590
  3209.          name, the equal sign and at least one space!
  3210.  
  3211.          7) An interesting relationship exists between poly
  3212.          A0+A1*X^1+...AN*X^N and poly A0+A1*X^-1+...AN*X-N.  These two
  3213.          polynomials when generated from the same data set will always
  3214.          intersect at (N+1) points.
  3215.  
  3216.          8) Data points can be defined with more than one coordinate.
  3217.          For example (X:W,Y) where X and W are data coordinates and Y is
  3218.          the data value.  Polynomial fits of Y vs.  X and Y vs.  W are    L 2600
  3219.          possible.  Position the cursor on the desired coordinate before
  3220.          typing "P".  Note:  Zero-valued terms like "+W-W" will be added
  3221.          to the equations to represent extra coordinates and variables
  3222.          such as "W" will be designated as coordinates if the polynomial
  3223.          equation replaces the current equation(s).
  3224.  
  3225. ╒══════════════════════════════╕
  3226. │ ADVANCED FUNCTIONS WITH DATA └───────────────────────────────────────
  3227.  
  3228. 4.10  Advanced Functions using Data and Active Equation                   L 2610
  3229. ────────────────────────────────────────────────────────────────────────
  3230.  
  3231.          DATA ENTRY.  Data points are ordered numbers which are composed
  3232.          of elements called coordinate values and a single data value.
  3233.          Data points are always handled as a group.  For example, (X,Y)
  3234.          signifies a simple, and perhaps the most common form of, a data
  3235.          point.  Element X is the coordinate of the data point and
  3236.          element Y is the value of the data point.  (X:W,Y) signifies a
  3237.          data point with two coordinates, sometimes referred to as 2
  3238.          dimensional, and (X:W:Z,Y) signifies a data point with three     L 2620
  3239.          coordinates which is sometimes referred to as 3 dimensional,
  3240.          and so on.  Data are entered into the program by first entering
  3241.  
  3242.  
  3243.     ---------- 4.10 -- Advanced Functions using Data and Active Equation ---
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   58 --
  3250.  
  3251.  
  3252.          an equation with at least 2 independent variables.  Before
  3253.          using the subcommand "D", one must designate only one of the
  3254.          equations as active, if there are more than one, The dependent
  3255.          variable of the active equation will be associated with the
  3256.          data or Y value of the data point.  One or more of the
  3257.          independent variables are designate as coordinates of the data
  3258.          point.  The name(s) of the coordinate independent variables are
  3259.          associated with the coordinate values of the data point.  There  L 2630
  3260.          must always be one active independent variable which is not
  3261.          designated as a coordinate!  Use subcommands "A" and "I" to
  3262.          activate/inactivate variables and subcommand "O" to designate
  3263.          coordinates while the main equations are displayed.  Type "D"
  3264.          to enter data.  Use the appropriate letter subcommands and
  3265.          arrows to enter/manipulate data.  Warning!  The Program
  3266.          automatically advanced from the last point to the next point by
  3267.          adding a zero data point.  Type "R" to remove this unwanted
  3268.          data point, if necessary, before exiting back to the main
  3269.          equation screen.  Also, while in the data entry mode, the names  L 2640
  3270.          of the coordinates and data value always refer to the numbers
  3271.          of the current data point.  For example, a calculation of
  3272.          (space) Y=2*X (enter) will always set the the current data
  3273.          value to 2 times the current coordinate value.  Data points can
  3274.          also be read in from a DATAONLY file.  See Section 1.14 below.
  3275.  
  3276.          DATA TRANFORMATIONS.  Mathematical operations/transformations
  3277.          can be applied to each individual element of a data point by
  3278.          using a simple equation which references the desired elements.
  3279.          Thus, to set the data value of the current point to the square   L 2650
  3280.          root of the coordinate simply type (space) Y=SQR(X) (enter).
  3281.          Note, start calculations with a space to avoid confusion with
  3282.          the letter subcommands!  Furthermore, an immediate calculation
  3283.          can be applied to all members of a particular coordinate or all
  3284.          of the data, or Y, values by use of the subcommand "$C".  This
  3285.          subcommand applies an entered immediate calculation to all of
  3286.          the specified members.  For example, data points may be in the
  3287.          form (X,Y) but one desires a linear fit to data of the form
  3288.          (1/X, LOG(Y)).  The current data can be transformed to this
  3289.          form by two uses of the subcommand "$C".  First transform the Y  L 2660
  3290.          values.  The general way is to type "$C" and enter (esc)
  3291.          Y=LOG(ABS(Y)) (enter) or, alternatively, move the cursor to a Y
  3292.          value, type "$C" and then type (esc) LOG(ABS(:)) (enter).
  3293.          Note, the ":" can be used to represent the current variable
  3294.          name and the result of the calculation will be assigned to the
  3295.          current data element because an explicit dependent variable has
  3296.          not been specified.  Similarly, one can take the reciprocal of
  3297.          the X values by first typing "$C" and then either entering an
  3298.  
  3299.  
  3300.     ---------- 4.10 -- Advanced Functions using Data and Active Equation ---
  3301.  
  3302.  
  3303.  
  3304.  
  3305.  
  3306.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   59 --
  3307.  
  3308.  
  3309.          explicit immediate calc like (esc) X=1/X (enter) or, if the
  3310.          cursor is on an X value when "$C" is typed, by typing (esc) 1/:  L 2670
  3311.          (enter).  Use subcommand "P", polyfit, to calculate the desired
  3312.          polynomial.  After this operation, data can be "untransformed"
  3313.          by applying reciprocal operations (Y=EXP(Y) to y values and
  3314.          X=1/X to X values) to the appropriate elements with subcommand
  3315.          "$C".
  3316.  
  3317.          SUBSTITUTING DATA INTO DISPLAYED EQUATIONS.  While in the main
  3318.          equation screen, previously entered data points can be
  3319.          substituted into the displayed equations with subcommands "!D"
  3320.          and "@D".  Use "!D" to substitute a single data point into the   L 2680
  3321.          main equations and "@D", to substitute all data points into the
  3322.          main equations.  A root-mean-squared error is also calculated.
  3323.          This error is identical to what is calculated during the fit
  3324.          subcommand "S".  By changing values of independent variables
  3325.          and typing "@D", one can actually minimize the error and
  3326.          optimize the values of the variable manually, if so desired!
  3327.  
  3328.          PRIORITY OF CALCULATION WITH DATA POINTS.  When in the data
  3329.          entry mode or when using subcommands "!D" or "@D", the
  3330.          following priorities apply to all calculations:  1) Data         L 2690
  3331.          coordinate values are first substituted into the corresponding
  3332.          coordinate variables of the main displayed equation(s), 2) All
  3333.          main displayed equations are calculated and 3) The data value
  3334.          is substituted into the corresponding dependent variable.  For
  3335.          example, if one has (X,Y) data points and wishes to calculate
  3336.          the mean of the X and Y values, Enter a set of equations such
  3337.          as:
  3338.  
  3339.                           Y=Y+A
  3340.                           YTOTAL=YTOTAL+Y                                 L 2700
  3341.                           XTOTAL=XTOTAL+X
  3342.                           COUNTER=COUNTER+1
  3343.                           YAVE=YTOTAL/COUNTER
  3344.                           XAVE=XTOTAL/COUNTER
  3345.  
  3346.          Designate Y as the active equation.  Designate X as the
  3347.          coordinate.  Variable A is a dummy.  Type "@?" to zero all.
  3348.          Type "@D" to calculate mean value with data points.  Note,
  3349.          these equations can be used with other similar data sets by
  3350.          overlaying the equations with the "@[" subcommand which does     L 2710
  3351.          not change current data coordinates or values.
  3352.  
  3353.  
  3354.  
  3355.     ---------- 4.10 -- Advanced Functions using Data and Active Equation ---
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   60 --
  3362.  
  3363. ╒═════════════════════════╕
  3364. │ DATA ONLY FILES OF DATA └─────────────────────────────────────────────
  3365.  
  3366. 4.12  Reading External Files of Data Only
  3367. ────────────────────────────────────────────────────────────────────────
  3368.  
  3369.          The Program can read a user-generated file of data points if it
  3370.          is written with the simple format described below.  Once an      L 2720
  3371.          analysis has been developed, one may want to apply it
  3372.          repeatedly to different files of data by using an external file
  3373.          of data points which consists of:  1) a header record, 2) a
  3374.          title record and 3) 2 or more numbers with one number per
  3375.          record.  An example of an external file of data points follows:
  3376.  
  3377. "ASTRO3 DATAONLY","04-01-81","17:02:56"
  3378. "Data only consisting of 6 numbers: 3 (x,y) or 2 (x:w,y) data points"
  3379.    1.11
  3380.    -1.11                                                                  L 2730
  3381.    100.11
  3382.    2.22
  3383.    -2.22
  3384.    200.22
  3385.  
  3386.          This ascii file can be generated with a text editor like PE2,
  3387.          B,or a word processor like WP (save as DOS text) or even by
  3388.          another Program.  The first record is the header record and it
  3389.          consists of 3 fields:  "astro3 DATAONLY" must always be first,
  3390.          then the date and then the time.  All fields are enclosed in     L 2740
  3391.          double quotes and separated by commas.  The second record is
  3392.          the title record.  The information in this record must be
  3393.          enclosed in double quotes.  It will be added on to the Program
  3394.          message which is displayed at the top of the screen in the main
  3395.          equation display.  The Program message can be edited with the
  3396.          "!/" subcommand.  Null or empty fields are specified by the
  3397.          empty string "".  Finally, the data numbers are entered one per
  3398.          record.
  3399.  
  3400.          In general, one should set up an equation, define coordinate(s)  L 2750
  3401.          and type "D" to verify the structure of the data point before
  3402.          reading DATAONLY files into the Program.  Data points are
  3403.          entered coordinate(s) first in alphabetical order and then data
  3404.          value.  Usually there is one coordinate per data point;
  3405.          however, there may be more than one.  In the above example if
  3406.          points are defined as (X,Y) then there are 3 data points:
  3407.          (1.11,-1.11), (100.11,2.22) and (-2.22,200.22).  However if
  3408.          points are defined with two coordinates (X:W,Y) then there are
  3409.          only 2 data points:  (1.11:-1.11,100.11) and
  3410.          (2.22:-2.22,200.22).                                             L 2760
  3411.  
  3412.  
  3413.     ------------------------ 4.12 -- Reading External Files of Data Only ---
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   61 --
  3420.  
  3421.  
  3422.  
  3423.          DATAONLY files are read in from the main equation display with
  3424.          the subcommand "[" which is also used to read in equation
  3425.          files.  The default extension is also ".EQU".  However, one can
  3426.          do a directory with another extension such as ".DAT" and read
  3427.          in the data with the directory subcommand "*" by ending the
  3428.          path description with *.DAT.  Warning #403 indicates that the
  3429.          structure of the data point may not have been properly defined
  3430.          or setup before a data-point operation.
  3431.                                                                           L 2770
  3432. ╒══════════╕
  3433. │ WARNINGS └────────────────────────────────────────────────────────────
  3434.  
  3435. 5.01    Summary of Common WARNINGS During Calculations.
  3436. ────────────────────────────────────────────────────────────────────────
  3437.  
  3438.          The warning numbers followed by an explanation follow:
  3439.  
  3440.          1 - Attempt to raise negative number to non-integer power.
  3441.          Operation was ignored.  Y=X^W is ok if X=-1.3 and W=2 but is     L 2780
  3442.          not allowed if W=2.1.  - Also, attempt to raise number to power
  3443.          such that the result is greater than 1E30 (overflow) or less
  3444.          than 1E-30 (underflow).  The number was set to 1E30 for
  3445.          overflow and 1E-30 for underflow.
  3446.  
  3447.          2 - Overflow from multiplication.  The result of the
  3448.          multiplication of two numbers exceeded 1E30 in magnitude.  The
  3449.          result of the multiplication was set to a magnitude of 1E30.
  3450.  
  3451.          3 - Overflow from division.  The result of the division of two   L 2790
  3452.          numbers exceeded 1E30 in magnitude.  The result of the division
  3453.          was set to a magnitude of 1E30.
  3454.  
  3455.          8 - The displayed values of the equation(s) may not be
  3456.          accurate.  In other words, the values of the dependent
  3457.          variables may not be related to the values of the independent
  3458.          variables by the recipes of the equations.  The most common
  3459.          warning message.  Will be produce if a dependent variable is
  3460.          set to any number.  Always produced after "?" command and at
  3461.          the entry into a calculation.  Type "C" to recalculate if        L 2800
  3462.          uncertain about the values of the dependent variables.
  3463.  
  3464.          15 - Attempt to take the arccosine, ACOS(...) or ACOSD(...), of
  3465.          a number whose absolute value is greater than 1.0.  Operation
  3466.          was ignored.
  3467.  
  3468.  
  3469.  
  3470.     ------------ 5.01 -- Summary of Common WARNINGS During Calculations. ---
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   62 --
  3477.  
  3478.  
  3479.          16 - Attempt to take the arcsine, ASIN(...) or ASIND(...), of a
  3480.          number whose absolute value is greater than 1.0.  Operation was
  3481.          ignored.
  3482.                                                                           L 2810
  3483.          18-19 - Same as for 15 and 16 but for ACOSD(...) and
  3484.          ASIND(...).
  3485.  
  3486.          24 - Attempt to take the arccosine hyperbolic, ACOSH(...), of a
  3487.          number whose value is less than 1.0.  Operation was ignored.
  3488.  
  3489.          26 - Attempt to take the arctangent hyperbolic, ATANH(...), of
  3490.          a number whose absolute value is greater than 1.0.  Operation
  3491.          was ignored.
  3492.                                                                           L 2820
  3493.          28 - Attempt to take a natural antilog of a number such that
  3494.          the result exceeded 1E30 (overflow) or was less than 1E-30
  3495.          (underflow).  The program set the magnitude of the result to
  3496.          1E30 for overflow and 1E-30 for underflow.
  3497.  
  3498.          31 - Attempt to take the square root, SQR(...), of a negative
  3499.          number.  Operation was ignored.
  3500.  
  3501.          32 - Attempt to take natural log, LOG(...), of zero or a
  3502.          negative number.  Operation was ignored.                         L 2830
  3503.  
  3504.          33 - Attempt to take log base 10, LOG10(...), of zero or a
  3505.          negative number.  Operation was ignored.
  3506.  
  3507.          43 - Overflow from factorial.  The result exceeded FP magnitude
  3508.          limit.  The result of the operation was set to the sign of the
  3509.          number at overflow times 1D+30.  Currently, X must be 33 or
  3510.          less in FACT(X) for no overflow.
  3511.  
  3512. ╒═══════════════╕                                                         L 2840
  3513. │ AFIT3 WARNINGS└───────────────────────────────────────────────────────
  3514.  
  3515. :WKP.5.03    Summary of WARNINGS From AstroDataFitter 3
  3516. ────────────────────────────────────────────────────────────────────────
  3517.  
  3518.          403 - Error in defining the active equation (There must be only
  3519.          1.) and/or the number of coordinate variables (There must be at
  3520.          least 1 and no more than 14.) and/or the number of active
  3521.          independent variables (There must be at least one and no more
  3522.          than 15 - # of coordinates.).  The Program will use default      L 2850
  3523.          settings in order to correct the setup.
  3524.  
  3525.  
  3526.  
  3527.     ------------ 5.01 -- Summary of Common WARNINGS During Calculations. ---
  3528.  
  3529.  
  3530.  
  3531.  
  3532.  
  3533.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   63 --
  3534.  
  3535.  
  3536.          404 - The correspondence between the data coordinates and
  3537.          values and the intended variables may be inaccurate.  This
  3538.          warning message is used to inform the user that the Program may
  3539.          have detected a situation that will result in some sort of
  3540.          confusion.  In particular, the status of variables may have
  3541.          been changed and the subcommand "D" was not used before other
  3542.          subcommands such as "S", "R", "T" or "X".
  3543.                                                                           L 2860
  3544.          405 - Less than 2 independent variables in the equation(s).
  3545.          There must be at least two independent variables in order to
  3546.          have one coordinate and one variable to be optimized.
  3547.  
  3548.          406 - No data in program.  Occurs for subcommands which require
  3549.          data such as "S", "R", "T", "X" and so on
  3550.  
  3551.          451 - Error during least-squares polynomial calculation.
  3552.          Calculation terminated before completion.
  3553.                                                                           L 2870
  3554. ╒════════╕
  3555. │ ERRORS └──────────────────────────────────────────────────────────────
  3556.  
  3557. 5.05    Summary of ERRORS during evaluation of equations
  3558. ────────────────────────────────────────────────────────────────────────
  3559.  
  3560.          The equation evaluation error numbers with an explanation
  3561.          follow.
  3562.  
  3563.      1 -  ILLEGAL OPERATION.                                              L 2880
  3564.           All mathematical operations such as ^, *, /, + and - must
  3565.           have two operands. Y=A*+C is not allowed. Only leading
  3566.           negation is allowed: Y=-A.  Y=+A is not proper.
  3567.  
  3568.      2 -  OPERATION ON WRONG SIDE OF EQUATION.
  3569.           Only the dependent variable can appear to the left of the
  3570.           equal sign.  Y+3=X+4 is not allowed.
  3571.  
  3572.      3 -  VARIABLE MUST BEGIN WITH A LETTER.
  3573.           123ABC, %DEF, etc. are not allowed as variable names.           L 2890
  3574.  
  3575.      4 -  UNMATCHED PARENTHESIS.
  3576.           All parentheses must be used in pairs.  Total must be even.
  3577.  
  3578.      5 -  EMPTY OR ILLEGAL PARENTHESES.
  3579.           All parentheses must enclose something. No SIN(), Y=(), etc.
  3580.  
  3581.      6 -  MISSING ARGUMENT, ALGEBRA OPERATION.
  3582.  
  3583.  
  3584.     ----------- 5.05 -- Summary of ERRORS during evaluation of equations ---
  3585.  
  3586.  
  3587.  
  3588.  
  3589.  
  3590.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   64 --
  3591.  
  3592.  
  3593.           All mathematical operations such as ^, *, /, + and - must
  3594.           have two operands. Y=A*+C is not allowed. Only leading          L 2900
  3595.           negation is allowed: Y=-A.  Y=+A is not proper.
  3596.  
  3597.      7 -  ILLEGAL USE OF FUNCTION.
  3598.           A function name cannot be used as a variable name. Y=A+SIN*X
  3599.           is not allowed. Y=A+SIN(X) is proper.  The name of something
  3600.           that is not an intrinsic function cannot be used as a
  3601.           function.  Y=COTH(X) is not allowed. Y=1/TANH(X) is proper.
  3602.  
  3603.      8 -  TOO MANY EQUAL SIGNS.
  3604.           Only one equal sign per equation is allowed.                    L 2910
  3605.  
  3606.      9 -  EQUATION INCOMPLETE.
  3607.           An equation must contain a dependent variable, equal sign and
  3608.           something after the equal sign. Y= is not valid.
  3609.  
  3610.     10 -  ILLEGAL CHARACTER.
  3611.           Only ASCII characters, decimal 33 (!) and higher can
  3612.           be used as characters in equations.  This range includes the
  3613.           numbers, upper and lower case letters, and other symbols such
  3614.           as the Greek letters.  Remember, lower case letters are         L 2920
  3615.           always converted to upper case. Variable names such as
  3616.           ABC, 123, are not allowed.
  3617.  
  3618.     11 -  DUPLICATE NAME FOR DEPENDENT VARIABLE.
  3619.           Each equation of a group must have a different, and unique to
  3620.           8 characters, name for the dependent variable.
  3621.  
  3622.     12 -  OUT OF ROOM!  DECREASE CONSTANTS.
  3623.           Too many constants and variables, decrease one or the other.
  3624.                                                                           L 2930
  3625.     13 -  OUT OF ROOM!  DECREASE VARIABLES.
  3626.           Too many variables and constants, decrease one or the other.
  3627.  
  3628.     14 -  OUT OF ROOM!  WORKSPACE.
  3629.           Too many operations such as nested parentheses "((()))".
  3630.           Try to rewrite the equation(s) in a more compact way.
  3631.  
  3632.     15 -  OUT OF ROOM!  CODESPACE.
  3633.           Too many operations.  Try to rewrite equation(s) in a more
  3634.           compact way.  Make common expressions separate equations.       L 2940
  3635.  
  3636.     16 -  UNDEFINED VARIABLE.
  3637.           An attempt has been made to reference a variable which has
  3638.           not been defined.  Will only occur when immediate
  3639.  
  3640.  
  3641.     ----------- 5.05 -- Summary of ERRORS during evaluation of equations ---
  3642.  
  3643.  
  3644.  
  3645.  
  3646.  
  3647.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   65 --
  3648.  
  3649.  
  3650.           calculations are made.
  3651.  
  3652.     17 -  OUT OF ROOM!  STORAGE VARIABLES.
  3653.           Attempt to define more than 256 storage variables.
  3654.           Save storage variables with "!]".  Use "Z", "!Z" and
  3655.           "@Z" to locate and remove unwanted variables.                   L 2950
  3656.  
  3657.     18 -  ILLEGAL USE OF STORAGE VARIABLE!
  3658.           Attempt to define a storage variable as a dependent variable
  3659.           of one of the equations entered in response to the prompt
  3660.           "? Equation(s)".  Not allowed!
  3661.  
  3662. ╒════════════════╕
  3663. │ DISPLAY COLORS └──────────────────────────────────────────────────────
  3664.  
  3665. 6.01    Setting Foreground/background Colors of Main                      L 2960
  3666.              Equations Screen and Program
  3667. ────────────────────────────────────────────────────────────────────────
  3668.  
  3669.          For a monochrome monitor, only the default colors white on
  3670.          black (command "!(esc)") or the opposite colors black on white
  3671.          (command "@(esc)") should be used.  For color monitors, there
  3672.          are 16 shades of foreground colors and 8 shades of background
  3673.          colors.  The text of the comment, equations and variables are
  3674.          in the foreground color.  The clock display and bottom-screen
  3675.          menu are in reverse video of these colors.  Colors by number     L 2970
  3676.          are:  0=black, 1=blue, 2=green, 3=cyan, 4=red, 5=magenta,
  3677.          6=brown, 7=white and 8 to 15 are corresponding high-intensity
  3678.          shades.  Use command !N to toggle the next foreground color and
  3679.          use command @N to toggle the next background color.  If the
  3680.          foreground and background colors are equal, then the displayed
  3681.          information becomes invisible.  Colors wrap around from #15 to
  3682.          #0.  Use commands "!(esc)" to set fore=#7 (white or green) and
  3683.          back=#0 (black) or command "@(esc)" to set fore=#0 and back=#7.
  3684.  
  3685.          Colors (except white on black, the default) are saved with the   L 2980
  3686.          equations and are reset when equations are read by the commands
  3687.          "(F8)" or "[" and "@[".  Start the program with a set of
  3688.          equations previously saved with the desired startup colors.
  3689.          For example:  AFIT3 CONFIG.EQU (enter).
  3690.  
  3691.          Note:  Type "!(esc)" to reset the monochrome colors before
  3692.          exiting or the DOS colors may remain those at the program exit.
  3693.  
  3694. ╒═══════════════╕
  3695. │ CLOCK DISPLAY └───────────────────────────────────────────────────────  L 2990
  3696.  
  3697.  
  3698.     --------------- 6.01 -- Setting Foreground/background Colors of Main ---
  3699.  
  3700.  
  3701.  
  3702.  
  3703.  
  3704.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   66 --
  3705.  
  3706.  
  3707.  
  3708. 6.05    Clock Screen: Commands During Display
  3709. ────────────────────────────────────────────────────────────────────────
  3710.  
  3711.          To start the clock, type !C from the equations display.
  3712.  
  3713. -> restart/redraw clock screen
  3714.  
  3715.          !  - Restart the clock and redraw the display.  Use if the
  3716.          display is overwritten.                                          L 3000
  3717.  
  3718. -> check/enter alarm time
  3719.  
  3720.          @ - Check the current alarm time, just type (enter) to exit, or
  3721.          set a new one, type y (enter).
  3722.  
  3723. -> changing 12/24 hour format
  3724.  
  3725.          # - Toggle between 12 and 24 hour time format (12 hr.
  3726.          default).                                                        L 3010
  3727.  
  3728. -> exit back to equations display
  3729.  
  3730.          $ - Exit back to the equation display.
  3731.  
  3732.         (ctrl Q) - Exit back to the equation display.
  3733.  
  3734. -> Dos shell
  3735.  
  3736.          % - Shell (exit) to DOS.  Type EXIT (enter) to return to clock.  L 3020
  3737.  
  3738. -> lock-up keyboard in security mode
  3739.  
  3740.          ^ - Security mode.  Enter a password up to 8 characters.  To
  3741.          unlock, type exact password.  Alarm will stay active.  If
  3742.          program does not respond, type (enter) first and then the exact
  3743.          password.  While in the security mode, the (alt) and (ctrl)
  3744.          keys are forced off.  Most "TSR" programs and emulators which
  3745.          are activated by hot keys should be locked out!  During
  3746.          security mode, program will remember date/time's of              L 3030
  3747.          unauthorized use.  If password contains "@", then typing
  3748.          incorrect password will immediately activate alarm-- displaying
  3749.          comment, sounding music and flashing screen!  Type any key to
  3750.          return to clock.  Password still must be entered correctly
  3751.          (with "@") to exit.
  3752.  
  3753.  
  3754.  
  3755.     ---------------------- 6.05 -- Clock Screen: Commands During Display ---
  3756.  
  3757.  
  3758.  
  3759.  
  3760.  
  3761.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   67 --
  3762.  
  3763.  
  3764.          The apostrophe command 'clo can be used to display the clock,
  3765.          to display the clock and lock with a password and to set the
  3766.          alarm time and comment.  Apostrophe commands can be entered
  3767.          almost anywhere in the program.  Some examples:                  L 3040
  3768.  
  3769.          'clo (enter) Display the clock, exit to equations.
  3770.  
  3771.          'clo =big (enter) display the clock and lock-up with a security
  3772.          password "big".  The "=" is used to indicate a password but is
  3773.          not part of the password.
  3774.  
  3775.          'clo 13:23 meeting in cr 864 (enter).  Set the alarm at 1:30 pm
  3776.          and set the comment to "meeting in cr 864".  Clock is not
  3777.          displayed.                                                       L 3050
  3778.  
  3779. ╒═════════════════════╕
  3780. │ APOSTROPHE COMMANDS └─────────────────────────────────────────────────
  3781.  
  3782. 6.10    Apostrophe Commands: What They Do and How to Use Them
  3783. ────────────────────────────────────────────────────────────────────────
  3784.  
  3785.          The apostrophe commands can be entered at most locations in the
  3786.          program as well as in the 'EQU fields of application help
  3787.          files.                                                           L 3060
  3788.  
  3789.          The apostrophe commands begin with an apostrophe and the first
  3790.          three letters of the key words described below.  Only the first
  3791.          three letters are significant.  Thus 'variable, 'var,
  3792.          'variety, etc.  all imply the same apostrophe command:  'var.
  3793.          apostrophe command are case insensitive except for the 'EQU
  3794.          field designator in an application help file.
  3795.  
  3796.          Apostrophe commands perform many of the functions that are also
  3797.          performed by the single-letter commands discussed above.  Some   L 3070
  3798.          examples:
  3799.  
  3800.          Enter an equation:  'equ y=a+b*x+c*x^2 (enter)
  3801.  
  3802.          Enter a comment:  'com This is a second-order polynomial.
  3803.          (enter)
  3804.  
  3805.          Assign values to many variables at one time:  'var x=1 a=2 b=3
  3806.          c=4 (ent) or 'x=1 a=2 b=3 c=4 (enter).  Note, if a variable
  3807.          name is the name of an apostrophe command, use the 'var first;   L 3080
  3808.          otherwise, the program will interpret the variable name as an
  3809.          apostrophe command.  For example if a variable were named COL
  3810.  
  3811.  
  3812.     ------ 6.10 -- Apostrophe Commands: What They Do and How to Use Them ---
  3813.  
  3814.  
  3815.  
  3816.  
  3817.  
  3818.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   68 --
  3819.  
  3820.  
  3821.          then 'col=1 (enter) would be interpreted as an improper use of
  3822.          the apostrophe command 'col; but, 'var col=1 (enter) is OK.
  3823.          Assign all variables the value of sqr(2):  'var #all=sqr(2)
  3824.          (enter).
  3825.  
  3826.          Make X a coordinate variable:  'coo x (enter)
  3827.  
  3828.          Change the colors to high-intensity white on red:  'col hwhite   L 3090
  3829.          red (ent)
  3830.  
  3831.          Move the cursor to variable X:  'cur x (enter) or '' x (enter)
  3832.  
  3833.          A summary of the apostrophe commands follows:
  3834.  
  3835.    PURPOSE               COMMAND     SIGNIF.              SYNTAX
  3836.                                      ABBREV.
  3837.  
  3838. Activate variables       'activate     'act   'act varname1,varname2...   L 3100
  3839.                                               'act #all
  3840.  
  3841. Calc dependent vars      'calculate    'cal   'cal
  3842.  
  3843. display clock            'clock        'clo   'clo
  3844. clock with password                           'clo =password
  3845. set alarm time and                            'clo hr:mn:se  comment
  3846. comment
  3847.  
  3848. Chain to other ASTRO3    'chain        'cha   'cha calc                   L 3110
  3849. programs with current                         'cha solve
  3850. variables + equations.                        'cha fit
  3851.  
  3852. Make coordinates         'coordinate   'coo   'coo varname1,varname2...
  3853.                                               'coo #ind
  3854.  
  3855. Set display colors,      'color        'col   'col forecolor,backcolor
  3856. Color names below
  3857.  
  3858. Set Comment              'comment      'com   'com text......             L 3120
  3859.  
  3860. Set decimal digits       'decimal      'dec   'dec 2
  3861.  
  3862. Move cursor to           'cursor       'cur   'cur varname1
  3863. variable varname1                 or   ''     ''varname1
  3864.  
  3865. Get an equation file     'eget         'ege   'ege mycalc
  3866. named "mycalc.equ"
  3867.  
  3868.  
  3869.     ------ 6.10 -- Apostrophe Commands: What They Do and How to Use Them ---
  3870.  
  3871.  
  3872.  
  3873.  
  3874.  
  3875.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   69 --
  3876.  
  3877.  
  3878. Save equation file       'esave        'esa   'esa mycalc
  3879.                                                                           L 3130
  3880. Enter equations          'equation     'equ   'equ  equation1....
  3881.  
  3882. Erase storage vars       'erase        'era   'era #all
  3883.  
  3884. Exit from program        'exit         'exi   'exi
  3885.  
  3886. Read application help    'help         'hel   'hel \calc\science
  3887. file "\calc\science"
  3888. Only 'help will access
  3889. last opened help file.                                                    L 3140
  3890.  
  3891. Immediate calculation    'immediate    'imm   'imm y=25-sqr(144)
  3892.                                               'imm y=2*4 z=sqr(144)
  3893.  
  3894. Inactivate variables     'inactivate   'ina   'ina varname1,varname2...
  3895.                                               'ina #dep
  3896.  
  3897. Lite mode.               'lite         'lit   'lit
  3898. Removes (F5), (F6),
  3899. (F9), Y, Z functions                                                      L 3150
  3900.  
  3901. Set precision            'precision    'pre   'pre single or double
  3902.  
  3903. Turn off sound           'quiet        'qui
  3904.  
  3905. Assign values to         'variable     'var   'var varname1=value1...
  3906. variables. Create                             'var #all=value2
  3907. storage variables.                or   ''     ''varname1=value1...
  3908.                          ''#all=value2
  3909.                                                                           L 3160
  3910. Get a storage file       'sget         'sge   'sge mystor
  3911. named "mystor.sto"
  3912.  
  3913. Jump to spreadsheet      'spread       'spr   'spr
  3914. (equations display)
  3915.  
  3916. Save a storage file      'ssave        'ssa   'ssa mystor
  3917.  
  3918.          The options #ALL, #DEP and #IND specify ALL variables, only the
  3919.          DEPENDENT variables or only the INDEPENDENT variables and can    L 3170
  3920.          be used with 'act, 'ina, 'coo and 'var.
  3921.  
  3922.          Foreground (forecolor) and background (backcolor) colors are:
  3923.  
  3924.  
  3925.  
  3926.     ------ 6.10 -- Apostrophe Commands: What They Do and How to Use Them ---
  3927.  
  3928.  
  3929.  
  3930.  
  3931.  
  3932.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   70 --
  3933.  
  3934.  
  3935.          0. BLACK              5. MAGENTA          10. LGREEN
  3936.          1. BLUE               6. BROWN            11. LCYAN
  3937.          2. GREEN              7. WHITE            12. LRED
  3938.          3. CYAN               8. GRAY             13. LMAGENTA
  3939.          4. RED                9. LBLUE            14. YELLOW
  3940.                                                    15. HWHITE             L 3180
  3941.          Note:  Enter the colors not numbers in 'COLOR command.  L means
  3942.          light and H means high-intensity.  Also, Only colors from 0 to
  3943.          7 should be used as backgrounds.
  3944.  
  3945.          The screen dump command "V" appends the complete equations,
  3946.          comment, and variable values and status to the screen display
  3947.          in the 'EQU field format.  These files can be used to build
  3948.          user-generated application help files from which equations etc.
  3949.          can be directly loaded into this program as the help file is
  3950.          read.  See the ASTRO3 Utility program, A3UTIL.EXE and            L 3190
  3951.          documentation for more details.
  3952.  
  3953. ╒══════════════════════════╕
  3954. │ AFIT3 APOSTROPHE COMMANDS└────────────────────────────────────────────
  3955.  
  3956. 6.12    Apostrophe Commands Unique to AstroDataFitter.
  3957. ────────────────────────────────────────────────────────────────────────
  3958.  
  3959.    PURPOSE               COMMAND     SIGNIF.              SYNTAX
  3960.                                      ABBREV.                              L 3200
  3961.  
  3962. Enter data               'data        'dat    'data 1 -2.1 3 3.4 4 5.7
  3963.  
  3964. Set data points to 0     'pt0         'pt0    'pt0
  3965.  
  3966.          Note:  Repeated use of the 'data command causes data to be
  3967.          merged onto the end of the existing data.  To start with 0 data
  3968.          points use the 'PT0 command first.  All data must be numbers.
  3969.          Data may be entered in the data point format (data coordinate,
  3970.          data value) or (data coord1:  data coord2, data value) and so    L 3210
  3971.          on.  For example:  (1, -2.1) (3, 3.4) (4, 5.7). Variable names
  3972.          and other representations will be interpreted as 0's.
  3973.  
  3974. ╒══════════════════╕
  3975. │ DOS COMMAND LINE └────────────────────────────────────────────────────
  3976.  
  3977. 7.01    Information After Program Name on DOS Command Line.
  3978.              How the Program Uses It and What It Does.
  3979. ────────────────────────────────────────────────────────────────────────
  3980.                                                                           L 3220
  3981.  
  3982.  
  3983.     -------- 7.01 -- Information After Program Name on DOS Command Line. ---
  3984.  
  3985.  
  3986.  
  3987.  
  3988.  
  3989.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   71 --
  3990.  
  3991.  
  3992.          Perform certain functions from information entered after
  3993.          program name in DOS command line.
  3994.  
  3995.    ■  Start with a previously stored file of equations like MYCALC.EQU:
  3996.          AFIT3 MYCALC.EQU  (enter)   or  AFIT3 "MYCAL.EQU"  (enter)
  3997.       Note: Use quotes if file name contains symbols = + - * / ( or ^.
  3998.             Foreground/background colors are those saved with equations.
  3999.       Start with both storage variable file and equation file:
  4000.           AFIT3 MYVAR.STO MYCAL.EQU  (enter)
  4001.       Note: Storage file must come before equation file. Default          L 3230
  4002.             extensions are ".STO" for storage and ".EQU" for equations.
  4003.             If math symbols are in filename(s), enclose both filenames
  4004.             in single set of quotes:  AFIT3 "STO++ EQU--"  (enter).
  4005.  
  4006.    ■  Start with equation(s) like Y=A*X+B:
  4007.          AFIT3 Y=A*X+B  (enter)
  4008.       Note: Equation(s) must contain at least one independent variable.
  4009.             Foreground/background colors are the defaults.
  4010.  
  4011.    ■  Start with a directory listing of a directory such as \calc or a:   L 3240
  4012.          AFIT3 \calc\  (enter)   or AFIT3 a:\  (enter)
  4013.       Note: Directory must be enclosed in "\". "\\" signifies the root
  4014.             directory and "\" signifies the current directory. The
  4015.             directory of a drive must end in "\".
  4016.  
  4017.    ■  Perform a single-shot calculations like:
  4018.          AFIT3 23+36+67  (enter)     or
  4019.          AFIT3 60,123,456,789.02-40,123,456,789.01  (enter)
  4020.       Note: Single-shot calculations calculate one or more results and
  4021.       prompt "Type any key to continue...".  Type (esc) to                L 3250
  4022.       continue the program or any other key to terminate program and
  4023.       return to DOS.  Information must not be enclosed in quotes,
  4024.       must not contain independent variables, and must have at least
  4025.       one operation such as = + - * / ( or ^.
  4026.  
  4027.    ■  Enclose each separate calculation in parentheses:
  4028.          AFIT3 (23+78-90) (32-SQR(56)) (2*SIND(87))  (enter)
  4029.  
  4030.    ■  Example of a single-shot calc with 4 dependent variables:
  4031.          AFIT3 A=1 B=2 X=3 Y=A*X+B  (enter)                               L 3260
  4032.  
  4033.    ■  To start a program by reading an application help file such
  4034.       as A3UTIL.HLP, simply include the filename with the .HLP
  4035.       extension anywhere on the command line.  Note, must maintain
  4036.       order of .STO and .EQU files as discussed above!  For example:
  4037.          AFIT3 MYVAR.STO MYCAL.EQU A3UTIL.HLP  (enter) or
  4038.  
  4039.  
  4040.     -------- 7.01 -- Information After Program Name on DOS Command Line. ---
  4041.  
  4042.  
  4043.  
  4044.  
  4045.  
  4046.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   72 --
  4047.  
  4048.  
  4049.          AFIT3 A21UTIL.HLP MYVAR MYCAL  (enter) or
  4050.          AFIT3 MYVAR A21UTIL.HLP MYCAL  (enter) or
  4051.          AFIT3 A21UTIL.HLP MYCAL  (enter)
  4052.          AFIT3 ? (enter) and AFIT3 AFIT3HLP.HLP (enter) are equivalent.   L 3270
  4053.  
  4054.    ■  Do not mix equations or calculations and filenames!
  4055.       For example:   Y=A*X+B  MYCAL.EQU  should not be entered!
  4056.  
  4057. ╒═════════╕
  4058. │ LICENSE └─────────────────────────────────────────────────────────────
  4059.  
  4060. 8.01    Product License and Warranty.
  4061. ────────────────────────────────────────────────────────────────────────
  4062.                                                                           L 3280
  4063.                Software License Agreement  (Registered Users)
  4064.  
  4065.          If you are a registered user, PCSCC grants you the right to use
  4066.          this Software for a single-user computer or a workstation not
  4067.          attached to a network.  You may not rent or lease this Software
  4068.          without the expressed written permission of PCSCC.  You may not
  4069.          decompile, disassemble, reverse engineer, copy, create a
  4070.          derivative work, or otherwise use this Software except as
  4071.          stated in this agreement.  The license authorizes you to create
  4072.          and use an extra copy of the Software on a home or laptop        L 3290
  4073.          computer, as long as the extra copy is never loaded at the same
  4074.          time this Software is loaded on the primary computer on which
  4075.          you use this Software.
  4076.  
  4077.          If any provision of this agreement is found to be unlawful,
  4078.          void, or unenforceable, then that provision shall be severed
  4079.          from this Agreement and will not affect the validity and
  4080.          enforceability of any of the remaining provisions.  This
  4081.          agreement shall be governed by the laws of the State of
  4082.          Delaware.                                                        L 3300
  4083.  
  4084.          The Software and accompanying materials are provided with
  4085.          Restricted Rights.  Use, duplication, or disclosure by the
  4086.          Government is subject to restrictions as set forth in
  4087.          subparagraph (c) (1) (ii) of The Rights in Technical Data and
  4088.          Computer Software clause at DFARS 252.227-7013, or
  4089.          subparagraphs (c) (1) and (2) of the Commercial Computer
  4090.          Software--Restricted Rights at 48 CFR 52.227-19, as applicable.
  4091.          Contractor/manufacturer is PC SuperComputer Capital,
  4092.          Incorporated, at the address listed below.                       L 3310
  4093.  
  4094.          Non registered users must comply with the Shareware policy
  4095.  
  4096.  
  4097.     ------------------------------ 8.01 -- Product License and Warranty. ---
  4098.  
  4099.  
  4100.  
  4101.  
  4102.  
  4103.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   73 --
  4104.  
  4105.  
  4106.          described elsewhere in this software Pacakage.
  4107.  
  4108.          Type T to return to the Table of Contents.
  4109.  
  4110.                           Warranty Information
  4111.  
  4112.          PC SuperComputer Capital, Inc.  (PCSCC) hereby disclaims all
  4113.          warranties relating to this Software, whether express or         L 3320
  4114.          implied, including without limitation any implied warranties of
  4115.          merchantability or fitness for a particular purpose.  PCSCC
  4116.          will not be liable for any special, incidental, consequential,
  4117.          indirect or similar damages due to loss of data, loss of
  4118.          profits, lost savings or any other reason, even if PCSCC or an
  4119.          agent of PCSCC has been advised of the possibility of such
  4120.          damages.  In no event shall PCSCC's liability for any damages
  4121.          ever exceed the price paid for the license to use Software,
  4122.          regardless of the form of the claim.  The person using the
  4123.          Software bears all risk as to the quality and performance of     L 3330
  4124.          the Software.  This Software is licensed AS IS.
  4125.  
  4126.          Any action or proceeding brought by either party against the
  4127.          other arising out of or related to this agreement shall be
  4128.          brought in a STATE or FEDERAL COURT of competent jurisdiction
  4129.          located in Fairfield County, Connecticut.  The parties hereby
  4130.          consent to in personam jurisdiction of said courts.
  4131.  
  4132.          Type T to return to the Table of Contents.
  4133.                                                                           L 3340
  4134. ╒══════════════╕
  4135. │ USER SUPPORT └────────────────────────────────────────────────────────
  4136.  
  4137. 8.03              User Support.
  4138. ────────────────────────────────────────────────────────────────────────
  4139.  
  4140.          This program has undergone over 5 years of "beta testing"
  4141.          around the world.  The algorithms have been in use since 1976,
  4142.          are user-firendly and believed highly reliable.  However,
  4143.          comprehensive programs of this nature may require clarification  L 3350
  4144.          or may develop what are called "bugs".  User support is
  4145.          provided to all registered users for a minimum of 3 months
  4146.          without charge.  Registered users can receive such help via
  4147.          phone, regular mail and E-mail.  Registration also enrolls the
  4148.          user for notification of "bug" fixes, upgrades, new versions,
  4149.          new products and many more benefits.  For the phone number/mail
  4150.          addresses see below or position the jump line here and type J.
  4151.          ∙Registration∙.  Support will be provided to non-registered
  4152.  
  4153.  
  4154.     ---------------------------------------------- 8.03 -- User Support. ---
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   74 --
  4161.  
  4162.  
  4163.          users and users beyond the free support period on a time and
  4164.          materials basis.                                                 L 3360
  4165.  
  4166. ╒═════════════╕
  4167. │ ARBITRATION └─────────────────────────────────────────────────────────
  4168.  
  4169. 8.04    Ombudsman/Arbitration Policy.
  4170. ────────────────────────────────────────────────────────────────────────
  4171.  
  4172.          PCSCC, Inc.  will follow arbitration guidelines as set forth
  4173.          and published by the Association of Shareware Professionals
  4174.          (ASP).  The current ASP policy is stated here:                   L 3370
  4175.  
  4176.          "This program is produced by a member of the Association of
  4177.          Shareware Professionals (ASP).  ASP wants to make sure that the
  4178.          shareware principle works for you.  If you are unable to
  4179.          resolve a shareware-related problem with an ASP member by
  4180.          contacting the member directly, ASP may be able to help.  The
  4181.          ASP Ombudsman can help you resolve a dispute or problem with an
  4182.          ASP member, but does not provide technical support for members'
  4183.          products.  Please write to the ASP Ombudsman at 545 Grover
  4184.          Road, Muskegon, MI 49442-9427 USA, FAX 616-788-2765 or send a    L 3380
  4185.          CompuServe message via CompuServe Mail to ASP Ombudsman
  4186.          70007,3536"
  4187.  
  4188. ╒═══════════════╕
  4189. │ PRODUCT  INFO └───────────────────────────────────────────────────────
  4190.  
  4191. 8.05  Product Information and How to Order Complete Package.
  4192. ────────────────────────────────────────────────────────────────────────
  4193.  
  4194.          AstroDataFitter 3 Product Description 8-1-1993                   L 3390
  4195.  
  4196.          AstroDataFitter 3 is a unique and innovative mathematics
  4197.          tool which offers productivity enhancements not found in any
  4198.          other software package either retail or shareware.  This
  4199.          hands-on program combines the functions of both a spreadsheet
  4200.          and calculator; but it is better.  Why?  Because it is right
  4201.          between the two:  Easier than a spreadsheet and more powerful
  4202.          than a calculator.  With its special format-free interface,
  4203.          formula or equation-based iterations are much easier to set up
  4204.          than in a spreadsheet.  It is designed to be "smarter" which     L 3400
  4205.          makes it very user-friendly for Professionals of all levels,
  4206.          especially for the infrequent or "computer-shy" user.  Broad
  4207.          applications exist in many disciplines where calculations with
  4208.          formulas, equations or other math recipes are required such as
  4209.  
  4210.  
  4211.     ----- 8.05 -- Product Information and How to Order Complete Package. ---
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   75 --
  4218.  
  4219.  
  4220.          in Economics, Genetics, Chemistry, Electrical Engineering,
  4221.          Engineering Mechanics, Fluid Mechanics & Hydraulics, Finance,
  4222.          Physics, Statistics and even Nursing.  Features include:
  4223.  
  4224.          ■ DOS or Windows as non-Windows application.  Runs on all PC
  4225.          compatibles.  DOS 2.1+, Monochrome display, 200K RAM, floppy or  L 3410
  4226.          disk.
  4227.  
  4228.          ■ DOS command line support for any direct calculation such as
  4229.          addition, multiplication, subtraction and division.
  4230.  
  4231.          ■ Format-free entry of up to 63 equations with at least 256
  4232.          independent variables and 256 constants.  Smart and
  4233.          "hassle-free" interpreter.
  4234.  
  4235.          ■ Equations and formulas are written according to the BASIC      L 3420
  4236.          conventions.  Versatile library of built-in functions.
  4237.  
  4238.          ■ Advanced calculator functions including many automated
  4239.          numerical methods such as:
  4240.  
  4241.          ∙ Newton-Raphson for solving x in y=f(x)
  4242.          ∙ Advanced simplex for solving x at W=Y=Z in W=f(x), Y=g(x),
  4243.            Z=h(x)
  4244.          ∙ Numerical integration (two methods)
  4245.          ∙ Numerical differentiation                                      L 3430
  4246.          ∙ Summation
  4247.          ∙ Finding maxima and minima
  4248.          ∙ Plotting equations
  4249.          ∙ Saving/retrieving data files with full file management
  4250.            support
  4251.          ∙ Screen dumps as DOS text files for inclusion in documents
  4252.  
  4253.          ■ Highly-structured documentation, on-line with Table of
  4254.          Contents, Glossary and search function.  Interactive with
  4255.          program.                                                         L 3440
  4256.  
  4257.          ∙ On-line helpfile.  Comprehensive summary of
  4258.            commands/functions with step-by-step examples on uses of all
  4259.            advanced functions.
  4260.          ∙ On-line user manual.  A "learn by example" document which
  4261.            illustrates the universal nature of problem-solving with many
  4262.            step-by-step examples from Science, Engineering and Finance.
  4263.  
  4264.          ■ Full support for ACTION21 and ACTION11 data sets.
  4265.                                                                           L 3450
  4266.  
  4267.  
  4268.     ----- 8.05 -- Product Information and How to Order Complete Package. ---
  4269.  
  4270.  
  4271.  
  4272.  
  4273.  
  4274.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   76 --
  4275.  
  4276.  
  4277.          ■ Comments from users:
  4278.  
  4279.   ∙ "... calculate circuit board drilling and routing speeds...easy to
  4280.      use, versatile and powerful with good documentation."
  4281.                                                       J. L.  New York
  4282.   ∙ "...used the integration capability to determine defect density...do
  4283.      not have any tool (either PC or host based) that does for me what
  4284.      ...(AstroFormCalc 3)...does."
  4285.                                                       J. R.  Virginia
  4286.   ∙ "...for Electrical Engineering practice it is better than a           L 3460
  4287.      spreadsheet and a calculator..."
  4288.                                                       C. B.  Florida
  4289.   ∙ "...used to do frequency spectrum work and calculations on circuits,
  4290.      ...of real value and a productivity tool."
  4291.                                                       E. S.  California
  4292.   ∙ "...one of a handful of scarcely available packages...in the types
  4293.      of numeric problems they solve."
  4294.                                                       W. C.  Chile
  4295.  
  4296.          This productivity-enhancing tool has been developed by the team  L 3470
  4297.          at PC SuperComputer Capital, Inc.  Order the complete Astro 3
  4298.          Package today!
  4299.  
  4300. ╒════════════════╕
  4301. │ OTHER PRODUCTS └──────────────────────────────────────────────────────
  4302.  
  4303. 8.06       Software Included in Astro 3 Registration
  4304. ────────────────────────────────────────────────────────────────────────
  4305.  
  4306.          Register for AstroFormulaCalculator 3 and receive, in addition   L 3480
  4307.          to the most recent version of ACAL3.EXE and ACAL3HLP.HLP, these
  4308.          3 powerful math analysis programs:  AstroEquationSolver 3,
  4309.          AstroDataFitter 3 and AstroShadowBox 3.  Each has its own
  4310.          extensive and interactive on-line helpfile written just like
  4311.          the one your reading now.  A print program is included which
  4312.          prints theses helpfiles to the standard printer or to a DOS
  4313.          text file.  All Astro 3 programs are written with the same
  4314.          high-level user-friendly front-end requiring minimal effort to
  4315.          setup and execute relatively elaborate calculations.  All data
  4316.          sets and helpfiles are compatible among members of the family.   L 3490
  4317.          A brief summary of the other members of the Astro 3 shareware
  4318.          family included with the registration package follows:
  4319.  
  4320.    ■ AstroEquationSolver 3 - Solves both linear and nonlinear
  4321.          simultaneous equations with up to 30 unknowns.  Characterized
  4322.          by extremely easy setup.  Uses active/inactive method of
  4323.  
  4324.  
  4325.     ------------------ 8.06 -- Software Included in Astro 3 Registration ---
  4326.  
  4327.  
  4328.  
  4329.  
  4330.  
  4331.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   77 --
  4332.  
  4333.  
  4334.          AstroDataFitter 3 to select variables.  Strictly high
  4335.          level.  No reference to matrices at all!.  Includes program
  4336.          ASOL3.EXE and extensive on-line help file ASOL3HLP.HLP that
  4337.          includes many learn-and-use examples.                            L 3500
  4338.  
  4339.    ■ AstroDataFitter 3 - Fit data to any algebraic expression.
  4340.          Nonlinear optimization.  Fully-automated polynomial regression
  4341.          with automatic "equation generator".  Easy to use, even by a
  4342.          novice.  Will generate interpolated tables from fitted
  4343.          equations.  Up to 30 "active" variables.  Up to 500 data
  4344.          points.  "Smart" algorithm requires minimal user input to solve
  4345.          problems.  DOS text plots of "fit".  Point-by-point listing of
  4346.          fitted data.  Residual variance, correlation coefficient,
  4347.          coefficient of determination and much more!  Includes program    L 3510
  4348.          AFIT3.EXE and extensive on-line help file AFIT3HLP.HLP that
  4349.          includes many illustrated examples.
  4350.  
  4351.    ■ AstroShadowBox 3 - The pop-up resident member (TSR) of the
  4352.          Astro 3 team.  Provides math support for other DOS programs.
  4353.          Pop-up via hot key, surround calculation in "shadow box", and
  4354.          type "(enter)" to pass result down through keyboard buffer or
  4355.          pop up, enter calculation and pass result down.  Great for
  4356.          adding powerful and interactive math capabilities to DOS text
  4357.          editors such as Brief (tm, Borland), PE2 (tm, IBM) or            L 3520
  4358.          WordPerfect (tm, WordPerfect).  Extensive features also include
  4359.          screen dumps with appends as DOS text files or as parsed
  4360.          columns in 123 (tm, Lotus) .WK1 files.  Requires as little as
  4361.          15K of main memory.  Includes program ABOX3.EXE and on-line
  4362.          help file ABOX3HLP.HLP
  4363.  
  4364.          If you like Engineering, Science or Finance and you have ideas
  4365.          that you could transform into an interactive helpfile like
  4366.          SCIFIN.HLP (The Astro 3 Science Manual) or PHYCAL.HLP ( The
  4367.          Astro 3 Physics Manual) or FINCAL.HLP (The Astro 3 Finance       L 3530
  4368.          Manual), then you should write one and market it!  If you write
  4369.          it in a commercial spreadsheet format, you will not likely be
  4370.          able to distribute a fully functional package which is the mark
  4371.          of a true Shareware program and the policy of the Association
  4372.          of Shareware Professionals!  However, the AstroUtility 3
  4373.          program provides the tools needed to generate an Astro 3
  4374.          interactive application file with a minimum of effort AND
  4375.          REGISTERED USERS OF THE AstroUtility 3 PROGRAM RECEIVE A
  4376.          LIMITED DISTRIBUTION LICENSE WHICH ALLOWS INCLUSION OF ANY OR
  4377.          ALL OF THE ASTRO 3 PROGRAMS IN YOUR PACKAGE!                     L 3540
  4378.  
  4379.    ■  AstroUtility 3  -   Support for authors to construct their own
  4380.  
  4381.  
  4382.     ------------------ 8.06 -- Software Included in Astro 3 Registration ---
  4383.  
  4384.  
  4385.  
  4386.  
  4387.  
  4388.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   78 --
  4389.  
  4390.  
  4391.          on-line application help files.  Develop equation files in your
  4392.          favorite editor and translate them into .EQU format for final
  4393.          "test and touch-up".  Likewise, develop an application file in
  4394.          your favorite editor, automatically include information from
  4395.          previously developed .EQU files, and then compile a
  4396.          full-feature .HLP with automatic Table of Contents, line
  4397.          numbers and so on.  .HLP files support all apostrophe commands
  4398.          and many other useful features such as CalcMerge with lets you   L 3550
  4399.          dynamically stuff values calculated in the main equation
  4400.          display into the application file.  As with the other Astro 3
  4401.          programs, AstroUtility 3 comes with its own interactive and
  4402.          extensive on-line help file which can be printed, if needed.
  4403.          Application files can contain up to 32,000 lines!
  4404.  
  4405.          See below for instructions on ∙Registration∙.
  4406.  
  4407. ╒══════════════╕
  4408. │ REGISTRATION └───────────────────────────────────────────────────────   L 3560
  4409.  
  4410. 8.07          Order/Registration Form
  4411. ────────────────────────────────────────────────────────────────────────
  4412.  
  4413.          If a printer is available, position the order form (part 1) on
  4414.          the screen and type the "(print screen)" key to make a copy.
  4415.          Then, advance the text and position the order form (part 2) on
  4416.          the screen and type "(print screen)" again to finish.
  4417.  
  4418.                ASTRO 3 Products Order/Registration Form                  L 3570
  4419.  
  4420.     Name:________________________________  Title:________________
  4421.  
  4422.     Company:_____________________________________________________
  4423.  
  4424.     Address:____________________________ City:___________________
  4425.  
  4426.     State:___________   Zip:_____________  Country:______________
  4427.  
  4428.     Date:_____/_____/_____           (Fill out form completely)           L 3580
  4429.  
  4430.     ---------------------------------------------------------------
  4431.     Product                     #     Price/ea     S&H       Total
  4432.     ---------------------------------------------------------------
  4433.     AstroDataFitter 3          ___    _$29.95_    _$5.00_   _______
  4434.     Complete Package includes
  4435.     ACAL3, ASOL3, AFIT3 + ABOX3
  4436.     AstroUtility 3 + ASTRO3    ___    _$99.95_    _$5.00_   _______
  4437.     distribution license                                                  L 3590
  4438.  
  4439.     * Canadian Orders, Add $2.00 per copy                   _______
  4440.  
  4441.     * International Orders, Add $6.00 per copy              _______
  4442.  
  4443.     * CT Residents add appropriate sales tax                _______
  4444.                                                                           L 3600
  4445.                                      TOTAL ENCLOSED      __________
  4446.  
  4447.     Disk Size: [ ] 5-1/4"   [ ] 3-1/2"   [ ] Check  [ ] Visa  [ ] MC
  4448.  
  4449.     Card# __________________________________     Exp. Date ________
  4450.  
  4451.     Signature ______________________________
  4452.  
  4453.     How did you hear about our Products?    [ ] BBS   [ ] Friend
  4454.     [ ] Other _____________________________________________________       L 3610
  4455.  
  4456.                   Mail Completed form with Payment to:
  4457.  
  4458.                         PCSCC, Inc.   Dept. AF3H
  4459.                            P. O. Box 173
  4460.                         Botsford,  CT   06404  USA
  4461.  
  4462.     Support ONLY,  1-203-270-9079     E-mail to CIS, 72263,1657
  4463.  
  4464.          [Mar 1994]  Prices subject to change without notice.             L 3620
  4465.  
  4466.                Type T to return to the Table of Contents.
  4467.  
  4468.     ------------------------------------ 8.07 -- Order/Registration Form ---
  4469.  
  4470.  
  4471.  
  4472.  
  4473.  
  4474.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   79 --
  4475.  
  4476. ╒═════════════════════╕
  4477. │ MANUAL INSTALLATION └─────────────────────────────────────────────────
  4478.  
  4479. 8.08    Instructions for Manually Installing Package.
  4480. ────────────────────────────────────────────────────────────────────────
  4481.  
  4482.      The following are minimal instructions for manually installing       L 3630
  4483.                             AstroDataFitter 3.
  4484.  
  4485. ■ Minimum distribution files:  README.1ST, AFIT3.ICO, AFIT3.EXE,
  4486.   and AFIT3HLP.HLP
  4487.  
  4488.  
  4489.     -------------- 8.08 -- Instructions for Manually Installing Package. ---
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   80 --
  4496.  
  4497.  
  4498.  
  4499. ■ These files will probably be bundled in a compressed file such as
  4500.   SCIFIN.ZIP, SCIFIN.LHZ, or something similar.  Please unload.
  4501.  
  4502. ■ Create a DOS directory named ASTRO3 and change to it:
  4503.   cd\ (enter)    md\astro3 (enter)  cd \astro3 (enter)                    L 3640
  4504.  
  4505. ■ Copy AFIT3.EXE, AFIT3HLP.HLP and AFIT3.ICO into the directory ASTRO3
  4506.  
  4507. ■ Add these statements to AUTOEXEC.BAT in the base directory:
  4508.   SET ASTRO3=C:\ASTRO3
  4509.   append to existing PATH statement  ;C:\ASTRO3;
  4510.  
  4511. ■ Running Under Windows as a Non-Windows Application
  4512.  
  4513.  Follow the installation instructions and install on the hard drive C.    L 3650
  4514.  Start WINDOWS (tm, MicroSoft).  Click on FILE then click on PROPERTIES.
  4515.  Enter the following information for each of the fields.  Description:
  4516.  AstroFormCalc 3, Command:  AFIT3.EXE, Working Directory:  \ASTRO3.
  4517.  Click on CHANGE ICON.  Enter Filename:  C:\astro3\AFIT3.ico.  Click on
  4518.  OK to exit and click on OK to exit FILE.  The AstroFormCalc 3 icon
  4519.  should appear in the accessory window.  Click on it to run AFIT3.
  4520.  
  4521. ■ To start with user manual:  cd\astro3 (enter)    AFIT3 ? (enter)
  4522.   To start with equation like y=a*x+b:    AFIT3 y=a*x+b  (enter)
  4523.   To start with calculation like 45.67+56.23:  AFIT3 45.67+56.23 (ent)    L 3660
  4524.      Type (esc) to enter another calculation or any other key to exit.
  4525.  
  4526.          Access on-line help (file:  AFIT3HLP.HLP) from equations
  4527.          display with (F1) key.
  4528.  
  4529. ╒═════════════╕
  4530. │ AUTHOR ???? └─────────────────────────────────────────────────────────
  4531.  
  4532. 8.09    Interested in Becoming the Author of Your Own
  4533.              Interactive Application File?                                L 3670
  4534. ────────────────────────────────────────────────────────────────────────
  4535.  
  4536.          Many technologies are based on math/algebra.
  4537.          AstroDataFitter 3 and its interactive, problem-solving
  4538.          application files offer distinct advantages to the Author.  The
  4539.          *.EQU templates are easy to develop and PCSCC offers complete
  4540.          support for compiling these into the interactive application
  4541.          files such as the help file AFIT3HLP.HLP which you are
  4542.          currently reading or SCIFIN.HLP (The Astro 3 Science Manual) or
  4543.          PHYCAL.HLP (The Astro 3 Physics Manual) or FINCAL.HLP (The       L 3680
  4544.  
  4545.  
  4546.     -------------- 8.09 -- Interested in Becoming the Author of Your Own ---
  4547.  
  4548.  
  4549.  
  4550.  
  4551.  
  4552.     -------- AFIT3HLP.HLP ----------- AFIT3 Help File --------------   81 --
  4553.  
  4554.  
  4555.          Astro 3 Finance Manual).  Application files can be written for
  4556.          any level of user from the very beginner to the Ph.D.  and
  4557.          distributed with any or all of the ASTRO 3 family of programs.
  4558.          See the OTHER PRODUCTS section above for more details.  To
  4559.          automatically jump type "J" if the jump bar is highlighted on
  4560.          those words.
  4561.  
  4562. ╒═══════════╕
  4563. │ HELP FILE └───────────────────────────────────────────────────────────
  4564.                                                                           L 3690
  4565. 9.01    Help File: Summary of File Viewing Commands
  4566. ────────────────────────────────────────────────────────────────────────
  4567.  
  4568.     A - Auto-search of entire text for user-supplied string. Search is
  4569.         in uppercase and is case insensitive. If string found,
  4570.         type A to continue or to enter new string, type (space) A.
  4571.     B,N - Move back or ahead 18 lines.  Also use (backspace) for "B".
  4572.     E, (esc) - Exit from help file to equations display.
  4573.     F,T,K - Jump to the first (beginning), T.O.C or last (end) line.
  4574.     G - Skip to Glossary of terms or summary of functions, if present.    L 3700
  4575.     J,(ent) - Search line on │JUMP│, Reference is after . Jump to
  4576.               line number or perform autosearch ahead if text reference.
  4577.     L,P - Jump to line/page. Type Lxxx(ent) or Pyy(ent) to jump to
  4578.           line #xxx or page #yy. With + or -, ahead or back 56 lines.
  4579.     S,R - Skip ahead (S) or back (R) in help file to major headings
  4580.     W - Skip to Summary of useful calculations or warnings, if present
  4581.     1 to 9 - Typing 1 to 9 advances the text by 1 to 9 lines.
  4582.     (ctrl Q) - Exit from help file.  Same as command "E".
  4583.     Edit keys - Use edit keys: (Home) (up arrow) (PgUp) (left arrow)
  4584.                 (right arrow) (End) (down arrow) (PgDn).                  L 3710
  4585.  
  4586.      Entry into the application file is at/near the last position.
  4587.      Type: T to return to Table of Contents or E to exit the file.
  4588.  
  4589.  
  4590.  
  4591.  
  4592.  
  4593.  
  4594.  
  4595.  
  4596.  
  4597.  
  4598.  
  4599.  
  4600.  
  4601.  
  4602.  
  4603.     ---------------- 9.01 -- Help File: Summary of File Viewing Commands ---
  4604.  
  4605.  
  4606.  
  4607.